Assign a user as a team administrator.
Operation description
Assign a user as a team administrator.
Try it now
Test
RAM authorization
Request syntax
POST /v2/role/assign HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
||
| identity | Identity |
Yes |
Unique identity identifier. Assign a user as a team administrator. |
|
| role_id |
string |
Yes |
ID of the role to assign to the user. Set to SystemGroupAdmin (team administrator). |
SystemGroupAdmin |
| manage_resource_type |
string |
Yes |
Type of resource to manage. Set to RT_Group (team). |
RT_Group |
| manage_resource_id |
string |
Yes |
ID of the resource to manage. Set to the group ID. |
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.