Last Updated on : 2023-07-06 09:09:43download
Update a user's role.
POST: /v1.0/iot-03/idaas/user-batch-role
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
uid | String | body | true | The user ID (UID). |
role_code_list | List | body | true | The list of role identifiers. |
space_id | String | body | true | The ID of a specified space. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The operation result. |
POST: /v1.0/iot-03/idaas/user-batch-role
{
"uid": "uid1",
"role_codes": [
"roleCode1",
"roleCode2"
],
"space_id": "12345"
}
{
"result": true,
"t": 1623000721180,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback