ms::Graph method group owner add (public)
<instance of ms::Graph> group owner add group_id principal
Defined in packages/xooauth/tcl/ms-procs.tcl
add an owner to a group. Details: https://docs.microsoft.com/en-us/graph/api/group-post-owners
- Parameters:
- group_id (required)
- principal (required)
- Testcases:
- No testcase defined.
Source code: set @odata.id "https://graph.microsoft.com/v1.0/users/${principal}" set r [:request -method POST -token [:token] -vars {@odata.id} -url /groups/${group_id}/owners/\$ref] return [:expect_status_code $r 204]XQL Not present: Generic, PostgreSQL, Oracle