Domain name for API request: organization.tencentcloudapi.com.
This API is used to get the list of organization nodes.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeOrganizationNodes. |
Version | Yes | String | Common Params. The value used for this API: 2021-03-31. |
Region | No | String | Common Params. This parameter is not required for this API. |
Limit | Yes | Integer | Maximum number of returned results. Maximum value: 50 . |
Offset | Yes | Integer | Offset. |
Parameter Name | Type | Description |
---|---|---|
Total | Integer | Total number. Note: This field may return null, indicating that no valid values can be obtained. |
Items | Array of OrgNode | List details. Note: This field may return null, indicating that no valid values can be obtained. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: organization.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeOrganizationNodes
<Common request parameters>
{
"Limit": "10",
"Offset": "0"
}
{
"Response": {
"Items": [
{
"CreateTime": "2021-04-16 11:49:39",
"Name": "Root",
"NodeId": 26,
"ParentNodeId": 0,
"Remark": "",
"UpdateTime": "2021-04-16 11:49:39"
},
{
"CreateTime": "2021-04-16 14:59:57",
"Name": "test",
"NodeId": 27,
"ParentNodeId": 26,
"Remark": "test",
"UpdateTime": "2021-04-16 14:59:57"
},
{
"CreateTime": "2021-04-16 15:55:53",
"Name": "test1",
"NodeId": 29,
"ParentNodeId": 27,
"Remark": "1",
"UpdateTime": "2021-04-16 15:55:53"
}
],
"RequestId": "becff4cb-fe62-4288-ac6c-4fba115b94b3",
"Total": 3
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InternalError | An internal error occurred. |
InvalidParameter | The parameter is incorrect. |
ResourceNotFound.OrganizationNotExist | The organization does not exist. |
Was this page helpful?