Last Updated on : 2023-07-06 09:11:44download
Create a role. The role identifier is required. You can enter the role name and remarks.
POST: /v1.0/iot-03/idaas/spaces/{space_id}/roles
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
space_id | String | uri | true | The ID of a specified space. |
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 | The operation result. |
POST: /v1.0/iot-03/idaas/spaces/1400762304747802670/roles
{
"role_code": "wujunCode",
"role_name": "wujunName",
"remark": "remark"
}
{
"result": true,
"t": 1622808344972,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback