Last Updated on : 2023-10-09 08:06:06download
Based on the permission ID and user ID, unlink a user from the specified permission.
DELETE: /v2.0/cloud/iam/permission/{permission_id}/user/{user_id}
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| permission_id | Long | uri | true | The ID of the specified permission. |
| user_id | String | uri | true | The user ID. |
| Parameter name | Type | Description |
|---|---|---|
| success | Boolean | Indicates whether the operation is successful. Valid values:
|
| error_code | String | The error code. 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. |
DELETE: /v2.0/cloud/iam/permission/1/user/uid1
{
"tid": "f5ffe2440b5111ee8144726abb6617ad",
"result": true,
"t": 1686815715734,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback