Deleting a Connection
Function
This API is used to delete pay-per-use connections only. To delete yearly/monthly connections, you need to first unsubscribe them.
Calling Method
For details, see Calling APIs.
URI
DELETE /v3/{project_id}/dcaas/direct-connects/{direct_connect_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
direct_connect_id |
Yes |
String |
Specifies the connection ID. Minimum: 36 Maximum: 36 |
project_id |
Yes |
String |
Specifies the project ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. Minimum: 0 Maximum: 10240 |
Response Parameters
None
Example Requests
Deleting a connection
DELETE https://{dc_endpoint}/v3/6fbe9263116a4b68818cf1edce16bc4f/dcaas/direct-connects/6ecd9cf3-ca64-46c7-863f-f2eb1b9e838a
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
204 |
No Content |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot