Help Center/ Virtual Private Network/ API Reference/ API/ P2C VPN APIs/ Server/ Deleting a Client CA Certificate
Updated on 2024-12-03 GMT+08:00

Deleting a Client CA Certificate

Function

This API is used to delete a client CA certificate with a specified ID.

Calling Method

For details, see Calling APIs.

URI

DELETE /v5/{project_id}/p2c-vpn-gateways/vpn-servers/{vpn_server_id}/client-ca-certificates/{client_ca_certificate_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.

vpn_server_id

String

Yes

Specifies the ID of a VPN server.

client_ca_certificate_id

String

Yes

Specifies the ID of a client CA certificate.

Request

  • Request parameters

    None

  • Example request
    DELETE https://{Endpoint}/v5/{project_id}/p2c-vpn-gateways/vpn-servers/{vpn_server_id}/client-ca-certificates/{client_ca_certificate_id}

Response

  • Response parameters

    Returned status code 204: successful deletion

Status Codes

For details, see Status Codes.