This operation cancels the team administrator role only.
Operation description
This operation cancels the team administrator role only.
Try it now
Test
RAM authorization
Request syntax
POST /v2/role/cancel_assign HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
||
| identity | Identity |
Yes |
Unique identity identifier. You can only cancel roles for users. |
|
| role_id |
string |
Yes |
ID of the role to cancel for the user. Only SystemGroupAdmin (team administrator) is supported. |
SystemGroupAdmin |
| manage_resource_type |
string |
Yes |
Resource type managed by the role to cancel. Only RT_Group (team) is supported. |
RT_Group |
| manage_resource_id |
string |
Yes |
ID of the resource managed by the role to cancel. Only the group ID is supported. |
105***b82 |
Response elements
|
Element |
Type |
Description |
Example |
None defined.
Examples
Success response
JSON format
{}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.