Last Updated on : 2023-07-06 09:13:05download
Add a role. You can set the role name and remarks.
POST: /v1.0/iot-02/roles
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
role_code | String | true | The identifier of a specified role. | |
role_name | String | false | The name of a specified role. | |
remark | String | false | The remarks. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | Indicates whether the operation is successful. Valid values:
|
POST: /v1.0/iot-02/roles
{
"role_code": "roleCode****",
"role_name": "roleNameroleCodeB8H6",
"remark": "Remarks 1"
}
true
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback