You need to enable JavaScript to run this app.
Direct Connect

Direct Connect

Copy page
Download PDF
DC Connection
DeleteDirectConnectConnection - Deleting a DC Connection
Copy page
Download PDF
DeleteDirectConnectConnection - Deleting a DC Connection
Call DeleteDirectConnectConnection to delete a specified Direct Connect (DC) Connection.​
Debug​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
The following only details request parameters specific to this API and key common parameters. For more information, see Common parameters.​
Action String required Example: DeleteDirectConnectConnection​
The interface name. The current API name is DeleteDirectConnectConnection.​
​
Version String required Example: 2020-04-01​
The interface version. The current API version is 2020-04-01.​
​
DirectConnectConnectionId String requiredExample: dcc-3tehy13n2l4c6c0v****​
The ID of the DC Connection to be deleted.​
You can call the DescribeDirectConnectConnections API to query the DC Connection ID.​
​
​
​
Response parameters​
This API does not have specific response parameters. For more information, see Response structure.​
Request examples​
​
GET /? HTTP/1.1​
Host: directconnect.cn-beijing.volcengineapi.com​
X-Date: 20251121T094038Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-beijing/directconnect/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
Response examples​
​
{​
"ResponseMetadata": {​
"RequestId": "20220419155310010225243081****",​
"Action": "DeleteDirectConnectConnection",​
"Version": "2020-04-01",​
"Service": "directconnect",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "20220419155310010225243081****"​
}​
}​
​
Error codes​
The table below describes the error codes for this API that are associated with business logic. For details, see Common error codes.​
​
Status code​
Error codes​
Error message​
Description​
400​
InvalidDirectConnectConnection.InUse​
The specified direct connect connection can not be deleted when associated with virtual interfaces or shared connections.​
The specified DC Connection has attached virtual interface or Shared Line and cannot be deleted.​
400​
InvalidDirectConnectConnection.InvalidStatus​
The specified direct connect connection is not in the correct status for the request.​
The specified DC Connection cannot respond to this request due to its status.​
400​
InvalidDirectConnectConnectionBusinessStatus.InUse​
The specified direct connect connection can not be deleted until expired.​
The specified DC Connection is under billing and cannot be deleted.​
404​
InvalidDirectConnectConnection.NotFound​
The specified direct connect connection does not exist.​
The specified DC Connection does not exist.​
​
Last updated: 2026.02.26 11:13:16