Last Updated on : 2023-07-06 09:12:54download
Update the role information, including the role name and remarks.
PUT: /v1.0/iot-02/roles/{role_code}
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| role_code | String | uri | true | The identifier of a specified role. |
Description of body
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| remark | String | false | The remarks. | |
| role_name | String | false | The name of a specified role. |
| Parameter name | Type | Description |
|---|---|---|
| result | Boolean | Indicates whether the operation is successful. Valid values:
|
PUT: /v1.0/iot-02/roles/12345678901234****
{
"remark": "Remarks",
"role_name": "Admin"
}
true
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback