Last Updated on : 2023-07-06 09:10:13download
Bind a role with a specified permission.
POST: /v1.0/iot-03/idaas/role-permission
Description of body
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| role_code | String | true | The identifier of a specified role. | |
| permission_code | String | true | The identifier of a specified permission. | |
| space_id | String | true | The ID of a specified space. |
| Parameter name | Type | Description |
|---|---|---|
| result | Boolean | The operation result. |
POST: /v1.0/iot-03/idaas/role-permission
{
"result": true,
"t": 1622883976479,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback