ms::Graph method team clone (public)

 <instance of ms::Graph[i]> team clone \
    [ -classification classification ] [ -description description ] \
    -displayName displayName  -mailNickname mailNickname  \
    -partsToClone partsToClone  [ -visibility visibility ] \
    [ -donecallback donecallback ] [ -wait ] team_id

Defined in packages/xooauth/tcl/ms-procs.tcl

Create a copy of a team specified by "team_id". It is possible to copy just some parts of the old team (such as "apps", "channels", "members", "settings", or "tabs", or a comma-separated combination).

Switches:
-classification
(optional)
-description
(optional)
-displayName
(required)
-mailNickname
(required)
-partsToClone
(required)
specify e.g. as "apps,tabs,settings,channels"
-visibility
(optional)
-donecallback
(optional)
cmd to be executed when the async command succeeded or failed. One additional argument is passed to the callback indicating the result status. Details: https://docs.microsoft.com/en-us/graph/api/team-clone
-wait
(defaults to "false") (optional)
when specified, perform up to 10 requests checking the status of the async command
Parameters:
team_id - of the team to be cloned (might be a template)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
set r [:request -method POST -token [:token]  -vars {
               classification
               description
               displayName
               mailNickname
               partsToClone
               visibility
           }  -url /teams/${team_id}/clone]
return [:async_operation_status -wait=$wait -donecallback $donecallback $r]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: