Deleting IPsec connections
DELETE /v2.0/vpn/ipsec-site-connections/{connection_id}
Delete an IPsec connection.
Request
Parameters
Name | In | Type | Description |
---|---|---|---|
connection_id
|
path | string | The ID of the IPsec site-to-site connection. |
Example
# curl -ks -X DELETE -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \ https://<node_IP_addr>:9696/v2.0/vpn/ipsec-site-connections/324dc68b-bdee-4a78-9d14-3484d8ee97a9
Response
Status codes
Success
Code | Reason |
---|---|
204 - No Content
|
The server has fulfilled the request. |
Error
Code | Reason |
---|---|
401 - Unauthorized
|
User must authenticate before making a request. |
404 - Not Found
|
The requested resource could not be found. |
409 - Conflict
|
This operation conflicted with another operation on this resource. |