Assign role to subaccount
PATCH/account/:accountId/role
Assigns a role to the given subaccount.
Request
Path Parameters
accountId stringrequired
The ID of the cloud account.
Example: account-100001
Header Parameters
x-maxone-role-id string
- application/json
Body
required
roleId stringrequired
The ID of the new role.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
code int32
The response code.
data object
The wrapped responding data.
msg string
The response message.
{
"code": 0,
"data": {},
"msg": "string"
}
Loading...