Deleting VPN endpoint groups

DELETE /v2.0/vpn/endpoint-groups/{endpoint_group_id}

Delete a VPN endpoint group.

Source: https://docs.openstack.org/api-ref/network/v2/index.html?expanded=remove-vpn-endpoint-group-detail#remove-vpn-endpoint-group

Request

Parameters

Name In Type Description
endpoint_group_id path string The ID of the VPN endpoint group.

Example

# curl -ks -X DELETE -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \
https://<node_IP_addr>:9696/v2.0/vpn/endpoint-groups/e3b89342-73ee-42b9-8ee9-fd91ec36aceb

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.