Last Updated on : 2023-10-09 08:05:41download
Unlink a user from a role based on the role ID and user ID.
DELETE: /v2.0/cloud/iam/role/{role_id}/user/{user_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
role_id | Long | uri | true | The ID of the specified role. |
user_id | String | uri | true | The user ID. |
Parameter name | Type | Description |
---|---|---|
success | Boolean | Indicates whether the request is successful. Valid values:
|
error_code | String | For more information, see the error codes. |
error_msg | String | The message that is returned if the request fails. It is empty if the request is successful. |
result | Object | The returned result. Valid values:
|
DELETE: /v2.0/cloud/iam/role/1/user/uid1
{
"tid": "44b298320b2a11eeae100efb7ec85579",
"result": true,
"t": 1686798666453,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback