Updated on 2025-08-19 GMT+08:00

Deleting a P2C VPN Gateway

Function

This API is used to delete a P2C VPN gateway with a specified gateway ID.

Calling Method

For details, see Calling APIs.

URI

DELETE /v5/{project_id}/p2c-vpn-gateways/{p2c_vgw_id}

Table 1 Parameter description

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.

Request

  • Request parameters

    None

  • Example request
    DELETE https://{Endpoint}/v5/{project_id}/p2c-vpn-gateways/{p2c_vgw_id}

Response

  • Response parameters

    Returned status code 204: successful deletion

Status Codes

For details, see Status Codes.