pydo.vpcs.get()
Generated on 18 Nov 2025
from pydo version
v0.21.0
Description
To show information about an existing VPC, send a GET request to /v2/vpcs/$VPC_ID.
Parameters
| Name | Type | Required | Description | Default Value |
|---|---|---|---|---|
vpc_id |
string | True | A unique identifier for a VPC. |
Request Sample
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.vpcs.get(vpc_id="e0fe0f4d")More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.