Last Updated on : 2023-06-15 05:02:19
Query the information about a specified role based on the role code.
GET: /v1.0/iot-02/roles/{role_code}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
role_code | String | uri | true | The identifier of a specified role. |
Parameter name | Type | Description |
---|---|---|
result | RoleResponse | The returned result of role information. |
Description of result
Parameter name | Type | Description |
---|---|---|
role_name | String | The name of a specified role. |
role_code | String | The identifier of a specified role. |
remark | String | The remarks. |
GET: /v1.0/iot-02/roles/roleCodegcnI
{
"tid": "4f5adb1b948811ec82481264f1be8bd1",
"result": {
"role_code": "roleCodegcnI",
"remark": "",
"role_name": "role1"
},
"t": 1645607371010,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback