Last Updated on : 2023-07-06 08:24:26download
This is an aggregated interface. You can add an organization and add the users whose type is an organization.
POST: /v1.0/iot-03/idaas-prod/spaces/{space_id}/organizations
| 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 |
|---|---|---|---|---|
| code | String | true | The identifier of a specified organization. | |
| name | String | true | The name of a specified organization. | |
| parent_code | String | false | The identifier of a specified parent organization. | |
| remark | String | false | The remarks of a specified organization. | |
| owner_uid | String | true | The user ID of the organization owner. |
| Parameter name | Type | Description |
|---|---|---|
| result | Boolean | The returned result. |
POST: /v1.0/iot-03/idaas-prod/spaces/1400335346549391440/organizations
{
"name": "name",
"owner_uid": "1400335346599528750",
"code": "1400335346598629930",
"remark": "remark"
}
{
"result": true,
"t": 1629272469492,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback