English
English
简体中文
Contact Us
Register
Log In

Query Organization Information

Last Updated on : 2021-07-16 08:11:17download

Query the organization information about a specified user.

API address

GET: /v1.0/iot-03/users/{uid}/organizations

Request parameter

Parameter name Type IN Required Description
uid String uri true The user ID.

Return parameter

Parameter name Type Description
result List The returned result.

Description of result

Parameter name Type Description
id String The ID of a specified organization.
name String The name of a specified organization.
parent_id String The ID of the parent organization.
external_id String The ID of an external organization.

Request example

GET: /v1.0/iot-03/users/bay1622425045524****/organizations

Return example

{ "result": [ { "external_id": "3222****", "parent_id": "", "name": "First-level Organization 1", "id": "139968599950781****" } ], "t": 1623376877784, "success": true }

Error code

For more information, see error code.