Last Updated on : 2023-07-06 08:24:26download
Display the permissions of the organizations.
GET: /v1.0/iot-03/idaas/spaces/{space_id}/organizations
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
code | String | uri | true | The identifier of a specified organization. |
name | String | uri | true | The name of a specified organization. |
space_id | String | uri | true | The ID of a specified space. |
Parameter name | Type | Description |
---|---|---|
result | IdaasOrganizationTreeVO | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
code | String | The identifier of a specified organization. |
name | String | The name of a specified organization. |
parent_code | String | The identifier of a specified parent organization. |
remark | String | The remarks of a specified organization. |
full_path | String | The full URL of a specified organization. |
status | Integer | Indicates whether the organization is enabled. Valid values:
|
gmt_create | Long | The time when it is created. |
gmt_modified | Long | The time when it is modified. |
child_organizations | List | The permissions of a sub-node. |
space_id | String | The ID of a specified space. |
GET: /v1.0/iot-03/idaas/spaces/1400335346549391440/organizations?code=Acode&name=Aname
{
"result": {
"gmtModified": 1627440885439,
"code": "A",
"childOrganizations": [
{
"fullPath": "A/B",
"gmtModified": 1627440885439,
"code": "B",
"childOrganizations": [
{
"fullPath": "A/B/C",
"gmtModified": 1627440885439,
"code": "C",
"remark": "Remarks",
"gmtCreate": 1627440885439,
"spaceId": "1400335346549391442",
"parentCode": "B",
"name": "Organization C",
"status": 0
}
],
"remark": "Remarks",
"gmtCreate": 1627440885439,
"spaceId": "1400335346549391442",
"parentCode": "A",
"name": "Organization B",
"status": 0
},
{
"fullPath": "A/B'",
"gmtModified": 1627440885439,
"code": "B",
"remark": "Remarks",
"gmtCreate": 1627440885439,
"spaceId": "1400335346549391442",
"parentCode": "A",
"name": "Organization B",
"status": 0
}
],
"remark": "Remarks",
"gmtCreate": 1627440885439,
"spaceId": "1400335346549391442",
"name": "Organization A",
"status": 0
},
"t": 1629272469492,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback