Help Center/ VPC Endpoint/ API Reference/ API/ VPC Endpoint Services/ Changing the Name of the VPC Endpoint Service
Updated on 2022-12-13 GMT+08:00

Changing the Name of the VPC Endpoint Service

Function

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

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.

Minimum: 0

Maximum: 16

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.

Minimum: 0

Maximum: 16

Status code: 400

Table 4 Response body parameters

Parameter

Type

Description

error

Error object

Specifies the error message returned when a task submission exception occurs.

Table 5 Error

Parameter

Type

Description

message

String

Task error description

code

String

Error code of a task exception.

Status code: 401

Table 6 Response body parameters

Parameter

Type

Description

error

Error object

Specifies the error message returned when a task submission exception occurs.

Table 7 Error

Parameter

Type

Description

message

String

Task error description

code

String

Error code of a task exception.

Status code: 403

Table 8 Response body parameters

Parameter

Type

Description

error

Error object

Specifies the error message returned when a task submission exception occurs.

Table 9 Error

Parameter

Type

Description

message

String

Task error description

code

String

Error code of a task exception.

Status code: 404

Table 10 Response body parameters

Parameter

Type

Description

error

Error object

Specifies the error message returned when a task submission exception occurs.

Table 11 Error

Parameter

Type

Description

message

String

Task error description

code

String

Error code of a task exception.

Status code: 405

Table 12 Response body parameters

Parameter

Type

Description

error

Error object

Specifies the error message returned when a task submission exception occurs.

Table 13 Error

Parameter

Type

Description

message

String

Task error description

code

String

Error code of a task exception.

Status code: 406

Table 14 Response body parameters

Parameter

Type

Description

error

Error object

Specifies the error message returned when a task submission exception occurs.

Table 15 Error

Parameter

Type

Description

message

String

Task error description

code

String

Error code of a task exception.

Status code: 407

Table 16 Response body parameters

Parameter

Type

Description

error

Error object

Specifies the error message returned when a task submission exception occurs.

Table 17 Error

Parameter

Type

Description

message

String

Task error description

code

String

Error code of a task exception.

Status code: 408

Table 18 Response body parameters

Parameter

Type

Description

error

Error object

Specifies the error message returned when a task submission exception occurs.

Table 19 Error

Parameter

Type

Description

message

String

Task error description

code

String

Error code of a task exception.

Status code: 409

Table 20 Response body parameters

Parameter

Type

Description

error

Error object

Specifies the error message returned when a task submission exception occurs.

Table 21 Error

Parameter

Type

Description

message

String

Task error description

code

String

Error code of a task exception.

Status code: 500

Table 22 Response body parameters

Parameter

Type

Description

error

Error object

Specifies the error message returned when a task submission exception occurs.

Table 23 Error

Parameter

Type

Description

message

String

Task error description

code

String

Error code of a task exception.

Status code: 501

Table 24 Response body parameters

Parameter

Type

Description

error

Error object

Specifies the error message returned when a task submission exception occurs.

Table 25 Error

Parameter

Type

Description

message

String

Task error description

code

String

Error code of a task exception.

Status code: 502

Table 26 Response body parameters

Parameter

Type

Description

error

Error object

Specifies the error message returned when a task submission exception occurs.

Table 27 Error

Parameter

Type

Description

message

String

Task error description

code

String

Error code of a task exception.

Status code: 503

Table 28 Response body parameters

Parameter

Type

Description

error

Error object

Specifies the error message returned when a task submission exception occurs.

Table 29 Error

Parameter

Type

Description

message

String

Task error description

code

String

Error code of a task exception.

Status code: 504

Table 30 Response body parameters

Parameter

Type

Description

error

Error object

Specifies the error message returned when a task submission exception occurs.

Table 31 Error

Parameter

Type

Description

message

String

Task error description

code

String

Error code of a task exception.

Example Requests

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

{
  "endpoint_service_name" : "test222_name_23432"
}

Example Responses

None

Status Codes

Status Code

Description

200

The server has successfully processed the request.

400

The server failed to process the request.

401

Username and password are required to access the requested page.

403

The access to the requested page is forbidden.

404

The server could not find the requested page.

405

The method specified in the request is not allowed.

406

The response generated by the server could not be accepted by the client.

407

Proxy authentication is required before the request is processed.

408

The request timed out.

409

The request could not be processed due to a conflict.

500

Request failed. A service error occurred.

501

Request failed. The server does not support the requested function.

502

Request failed. The server has received an invalid response from the upstream server.

503

Request failed. The system is unavailable.

504

Gateway timed out.

Error Codes

See Error Codes.