doc-exports/docs/vpcep/api-ref/vpcep_06_0204.html
Qin Ying, Fan ef5d2cd3cf VPCEP API 20230307 version
Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com>
Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
2023-06-14 11:56:35 +00:00

4.8 KiB

Deleting a VPC Endpoint Service

Function

This API is used to delete a VPC endpoint service.

This API is asynchronous. If it is successfully invoked, status code 200 is returned, indicating that the request has been successfully delivered. It takes 1 to 2 minutes to delete a VPC endpoint service. You can view the deletion result by performing operations in Querying Details About a VPC Endpoint Service.

URI

DELETE /v1/{project_id}/vpc-endpoint-services/{vpc_endpoint_service_id}

Table 1 describes parameters in this URI.
Table 1 URI parameters

Parameter

Mandatory

Description

project_id

Yes

Specifies the project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

vpc_endpoint_service_id

Yes

Specifies the ID of the VPC endpoint service.

Request

  • Parameter description

    None

  • Example request
    This request is to delete the VPC endpoint service whose ID is 4189d3c2-8882-4871-a3c2-d380272eed88.
    DELETE https://{endpoint}/v1/{project_id}/vpc-endpoint-services/4189d3c2-8882-4871-a3c2-d380272eed88

Response

None

Status Codes

See Status Codes.