Last Updated on : 2023-07-06 09:11:33download
Update the role information, including the role name and remarks.
PUT: /v1.0/iot-03/idaas/spaces/{space_id}/roles/{role_code}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
space_id | String | uri | true | The ID of a specified space. |
role_code | String | uri | true | The code of a specified role. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
role_name | String | false | The name of a specified role. | |
remark | String | false | The remarks. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The operation result. |
PUT: /v1.0/iot-03/idaas/spaces/1400762304747802670/roles/wujunCode
{
"role_name": "Role name",
"remark": "Remarks"
}
{
"result": true,
"t": 1622882010609,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback