Last Updated on : 2023-07-06 09:13:51download
Update the role of a specified user. The new settings will overwrite the previous settings.
PUT: /v1.0/iot-02/users/{uid}/roles
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
uid | String | uri | true | The user ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
role_codes | List | true | The list of role codes. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | Indicates whether the operation is successful. Valid values:
|
PUT: /v1.0/iot-02/users/123456789012345****/roles
{
"role_codes": [
"roleCode****"
]
}
true
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback