Domain name for API request: iss.intl.tencentcloudapi.com.
This API is used to delete an organization.
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: DeleteOrganization. |
| Version | Yes | String | Common Params. The value used for this API: 2023-05-17. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| OrganizationId | Yes | String | Organization ID (obtain from the DescribeOrganization API for querying organizations) |
| Parameter Name | Type | Description |
|---|---|---|
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: iss.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DeleteOrganization
<Common request parameters>
{
"OrganizationId": "193"
}
{
"Response": {
"RequestId": "cba701a7-608d-4785-a1d0-c45a2ec07a26"
}
}
POST / HTTP/1.1
Host: iss.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DeleteOrganization
<Common request parameters>
{
"OrganizationId": "1"
}
{
"Response": {
"Error": {
"Code": "ResourceNotFound",
"Message": "The resource does not exist"
},
"RequestId": "4798f503-9cdb-418f-ad69-2d5632cff6b3"
}
}
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 |
|---|---|
| FailedOperation | Operation failed |
| ResourceNotFound | Resource does not exist. |
| UnsupportedOperation.OrgLinkDev | Devices added by the root account or other sub-accounts still exist in the organization. You cannot view or delete the organization. |
| UnsupportedOperation.OrgLinkOrg | Deletion is not allowed when an organization has affiliated organizations. |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback