Tearing Down a Connection of a P2C VPN Gateway
Function
This API is used to tear down a connection of a specified P2C VPN gateway based on the connection ID.
Calling Method
For details, see Calling APIs.
URI
POST /v5/{project_id}/p2c-vpn-gateways/{p2c_vgw_id}/connections/{connection_id}/disconnect
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
project_id |
String |
Yes |
Specifies a project ID. You can obtain the project ID by referring to Obtaining the Project ID. |
p2c_vgw_id |
String |
Yes |
Specifies the ID of a P2C VPN gateway instance. |
connection_id |
String |
Yes |
Specifies a connection ID of a P2C VPN gateway. |
- Example request
POST https://{Endpoint}/v5/{project_id}/p2c-vpn-gateways/{p2c_vgw_id}/connections/{connection_id}/disconnect
Response
Status Codes
For details, see Status 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