This operation assigns the team administrator role to a user.
Operation description
This operation assigns the team administrator role to a user.
Try it now
Test
RAM authorization
Request syntax
POST /v2/role/assign HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| domain_id |
string |
No |
|
|
| body |
object |
No |
||
| identity | Identity |
Yes |
The unique identifier of the user. |
|
| role_id |
string |
Yes |
The role ID to assign to the user. Currently, only |
SystemGroupAdmin |
| manage_resource_type |
string |
Yes |
The resource type to manage. Currently, only |
RT_Group |
| manage_resource_id |
string |
Yes |
The resource ID to manage. Currently, only a 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.