Delete a VPC peering
To delete a VPC peering, send a DELETE request to /v2/vpc_peerings/$VPC_PEERING_ID.
Path parameters
A unique identifier for a VPC peering.
Response
The response will be a JSON object with a key called vpc_peering. The value of this will be an object that contains the standard attributes associated with a VPC peering.
Example response
{
"vpc_peering": {
"id": "5a4981aa-9653-4bd1-bef5-d6bff52042e4",
"name": "example-vpc-peering",
"vpc_ids": [
"997615ce-132d-4bae-9270-9ee21b395e5d",
"e51aed59-3bb1-4a6a-8de0-9d1329e9c997"
],
"created_at": "2024-01-09T20:44:32Z",
"status": "DELETING"
}
}Changes
Changed in 4 of the 8 revisions of this API.14
- ○
api tag
DigitalOcean-public.v2-new_VPC Peeringsaddedapi-tag-added
- ○
api tag
VPC Peeringsremovedapi-tag-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 436 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○