[ Web Proxy ]
URL:
Viewing: https://docs.digitalocean.com/reference/pydo/reference/vpc_peerings/delete/ [Back]  [Original]

pydo.vpc_peerings.delete() | DigitalOcean Documentation

For AI agents: The documentation index is at https://docs.digitalocean.com/llms.txt. Markdown versions of pages use the same URL with index.html.md in place of the HTML page (for example, append index.html.md to the directory path instead of opening the HTML document).

pydo.vpc_peerings.delete()

Generated on 3 Aug 2026 from pydo version v0.40.0

Copy page as Markdown View page as Markdown

Usage

client.vpc_peerings.delete(
    vpc_peering_id="5a4981aa-9653-4bd1-bef5-d6bff52042e4",
)
Returns JSONRaises HttpResponseError

Description

To delete a VPC peering, send a DELETE request to /v2/vpc_peerings/{vpc_peering_id}.

Parameters

vpc_peering_id string required

A unique identifier for a VPC peering.

Response Example

Show Response Example
{
  "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"
  }
}

More Information

See /v2/vpc_peerings/{vpc_peering_id} in the API reference for additional detail on responses, headers, parameters, and more.

In this article...


We can't find any results for your search.

Try using different keywords or simplifying your search terms.


Web Proxy Viewer  |  New URL  |  Original Page