ms::Graph method team unarchive (public)

 <instance of ms::Graph[i]> team unarchive \
    [ -donecallback donecallback ] [ -wait ] team_id

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

Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Details: https://docs.microsoft.com/en-us/graph/api/team-unarchive

Switches:
-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.
-wait (optional, defaults to "false")
when specified, perform up to 10 requests checking the status of the async command
Parameters:
team_id (required)

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