Last Updated on : 2023-07-06 09:13:33download
Delete the user and role relationship based on the user ID and role code.
DELETE: /v1.0/iot-02/users/{uid}/roles
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
uid | String | uri | true | The user ID. |
request | UserRoleDeleteRequest | query | true | The request of deleting a specified user role. |
Description of request
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
role_code | String | true | The identifier of a specified role. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | Indicates whether the operation is successful. Valid values:
|
DELETE: /v1.0/iot-02/users/bsh1645068029415****/roles?role_code=roleCodegcnI****
{
"tid": "524bc6be948811ec82481264f1be8bd1",
"result": true,
"t": 1645607375967,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback