Help Center/ VPC Endpoint/ API Reference/ API/ VPC Endpoint Services/ Changing the Name of a VPC Endpoint Service
Updated on 2025-10-28 GMT+08:00

Changing the Name of a VPC Endpoint Service

Function

This API is used to change the name of a VPC endpoint service.

Calling Method

For details, see Calling APIs.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.

  • If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
  • If you are using identity policy-based authorization, the following identity policy-based permissions are required.

    Action

    Access Level

    Resource Type (*: required)

    Condition Key

    Alias

    Dependencies

    vpcep:endpointServices:updateName

    Write

    endpointServices *

    -

    • vpcep:epservices:update

    -

URI

PUT /v1/{project_id}/vpc-endpoint-services/{vpc_endpoint_service_id}/name

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the tenant ID.

vpc_endpoint_service_id

Yes

String

Specifies the ID of the VPC endpoint service.

Request Parameters

Table 2 Request body parameters

Parameter

Mandatory

Type

Description

endpoint_service_name

No

String

Specifies the name of the VPC endpoint service.

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

endpoint_service_name

String

Specifies the name of the VPC endpoint service.

Example Requests

Changing the name of a VPC endpoint service

https://{endpoint}/v1/{project_id}/vpc-endpoint-services/070c4a63-8a62-448e-89ed-f2cbde8e6a3b/name

{
  "endpoint_service_name" : "obs_test"
}

Example Responses

Status code: 200

The server has successfully processed the request.

{
  "endpoint_service_name" : "br-abc-aaa1.obs_test.77e40857-03e9-45ee-a940-4bbb8cef72bf"
}

Status Codes

Status Code

Description

200

The server has successfully processed the request.

Error Codes

See Error Codes.