Domain name for API request: lighthouse.tencentcloudapi.com.
This API is used to disassociate with a CCN instance.
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: DetachCcn. |
Version | Yes | String | Common Params. The value used for this API: 2020-03-24. |
Region | No | String | Common Params. This parameter is not required for this API. |
CcnId | Yes | String | CCN instance ID. |
Parameter Name | Type | Description |
---|---|---|
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
Unassociates CCN instance
POST / HTTP/1.1
Host: lighthouse.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DetachCcn
<Common request parameters>
{
"CcnId": "ccn-pf78xmcp"
}
{
"Response": {
"RequestId": "6c947389-ed9f-4c7a-ba68-4b118a4ac11a"
}
}
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 | Internal error. |
InvalidParameterValue.CcnIdMalformed | The ID format of the CCN instance is invalid. |
UnsupportedOperation | Unsupported operation. |
UnsupportedOperation.CcnNotAttached | No CCN instance has been associated yet, so this operation is not supported. |
UnsupportedOperation.DetachCcnFailed | Failed to unassociate the CCN instance. Please check the CCN status and try again later. |
Was this page helpful?