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.
URI
PUT /v1/{project_id}/vpc-endpoint-services/{vpc_endpoint_service_id}/name
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Specifies the tenant ID. Minimum: 1 Maximum: 64 |
vpc_endpoint_service_id |
Yes |
String |
Specifies the ID of the VPC endpoint service. Minimum: 1 Maximum: 64 |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
endpoint_service_name |
No |
String |
Specifies the name of the VPC endpoint service. |
Response Parameters
Status code: 200
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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot