Last Updated on : 2023-07-06 09:13:21download
Edit the permissions of a specified role. The new settings will overwrite the previous settings.
POST: /v1.0/iot-02/roles/{role_code}/permissions
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 |
---|---|---|---|---|
permission_codes | List | true | The identifier of a specified parent organization. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | Indicates whether the operation is successful. Valid values:
|
POST: /v1.0/iot-02/roles/123/permissions
{
"permission_codes": [
"permissionCode****"
]
}
true
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback