Class Relations
- class: ::nx::EnsembleObject
::nx::EnsembleObject create ::ms::Graph::slot::__group::owner
Methods (to be applied on the object)
add (scripted)
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]
list (scripted)
set r [:request -method GET -token [:token] -url /groups/${group_id}/owners]
return [:expect_status_code $r 200]
remove (scripted)
set r [:request -method DELETE -token [:token] -url /groups/${group_id}/owners/${user_id}/\$ref]
return [:expect_status_code $r 204]