Last Updated on : 2023-07-06 08:18:56download
Get the information about a specified organization to which a specified member belongs, including the organization name, parent organization name (if any), organization manager, organization enabling status, and space ID.
GET: /v1.0/iot-03/idaas/spaces/{space_id}/users/{uid}/organizations
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
uid | String | uri | true | The user's identifier. |
space_id | String | uri | true | The ID of a specified space. |
Parameter name | Type | Description |
---|---|---|
result | List | 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. |
owner_uid | String | The user ID of the organization owner. |
status | Integer | Indicates whether the organization is enabled. Valid values:
|
space_id | String | The ID of a specified space. |
GET: /v1.0/iot-03/idaas/spaces/1400727198159081506/users/1400335346599528750/organizations
{
"result": [
{
"gmt_create": "1622775600000",
"parent_name": "testParentOrgName",
"code": "1400335346598629930",
"remark": "testRemark",
"gmt_modified": "1622775600000",
"owner_uid": "1400335346599528750",
"name": "testOrgName",
"parent_code": "1400335346598629666",
"space_id": "1400727198159081506",
"status": 0
}
],
"t": 1629272469492,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback