DeleteVpcEndpoint
Deletes an endpoint in the service VPC.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:DeleteVpcEndpoint |
none |
*Instance
|
None | None |
Request syntax
DELETE /openapi/instances/{InstanceId}/vpc-endpoints/{EndpointId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
es-cn-2r429tctl000d**** |
| EndpointId |
string |
Yes |
The ID of the endpoint to delete. |
ep-bp18s6wy9420wdi4**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. |
5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1D*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Result |
boolean |
Indicates whether the endpoint was deleted. Valid values:
|
true |
| RequestId |
string |
The request ID. |
F99407AB-2FA9-489E-A259-40CF6DCC47D9 |
Examples
Success response
JSON format
{
"Result": true,
"RequestId": "F99407AB-2FA9-489E-A259-40CF6DCC47D9"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.