Last Updated on : 2023-06-15 05:03:25
Verify whether a user has the specified permission.
POST: /v1.0/iot-02/users/{uid}/actions/permission-valid
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
uid | String | uri | true | The user ID (UID). |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
permission_code | String | true | The identifier of a permission. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | Indicates whether the operation is successful. Valid values:
|
POST: /v1.0/iot-02/users/123/actions/permission-valid
{
"permission_code": "permissionCodenjds"
}
{
"tid": "524bc6be948811ec82481264f1be8bd1",
"result": true,
"t": 1645607375967,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback