| **To delete an endpoint** | |
| This example deletes endpoints vpce-aa22bb33 and vpce-1a2b3c4d. If the command is partially successful or unsuccessful, a list of unsuccessful items is returned. If the command succeeds, the returned list is empty. | |
| Command:: | |
| aws ec2 delete-vpc-endpoints --vpc-endpoint-ids vpce-aa22bb33 vpce-1a2b3c4d | |
| Output:: | |
| { | |
| "Unsuccessful": [] | |
| } |