Last Updated on : 2023-07-06 08:18:44download
Query the information about all the accounts with a specified permission under a specified organization.
POST: /v1.0/iot-03/idaas-prod/spaces/{space_id}/organizations/{organization_code}/accounts/actions/query
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| organization_code | String | uri | true | The identifier of a specified organization. |
| space_id | String | uri | true | The ID of a specified space. |
Description of body
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| role_code | String | false | The identifier of a specified role. | |
| page_number | Integer | false | The current page number. | |
| page_size | Integer | false | The number of items per page. |
| Parameter name | Type | Description |
|---|---|---|
| result | Page |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| total_count | Integer | The total number of items that are found. |
| total_pages | Integer | The total number of pages. |
| page_number | Integer | The current page number. |
| page_size | Integer | The number of items per page. |
| results | EnsembleUser | The list of results. |
Description of results
| Parameter name | Type | Description |
|---|---|---|
| gmt_modified | Long | The time when it is modified. |
| gmt_create | Long | The time when it is created. |
| remark | String | The remarks. |
| uid | String | The user's identifier. |
| space_id | String | The ID of a specified space. |
| user_name | String | The username. |
| mobile | String | The mobile phone number. |
| String | The email address. |
POST: /v1.0/iot-03/idaas-prod/spaces/1400335346549391440/organizations/Acode/accounts/actions/query
{
"role_code": "Acode",
"page_number": 1,
"page_size": 10
}
{
"result": {
"total_count": 1,
"total_pages": 1,
"page_number": 1,
"results": [
{
"gmt_create": "1622775600000",
"user_name": "username",
"mobile": "182679xx616",
"remark": "Remarks",
"gmt_modified": "1622775600000",
"uid": "052533b7bf1d41c78505e421daa3f29a",
"space_id": "1400335346549391440",
"email": "sfeqfeqfrrqrq@turqrqrqrya.com"
}
],
"page_size": 20
},
"t": 1629272469492,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback