To list all of a VPC’s peerings, send a GET request to
/v2/vpcs/$VPC_ID/peerings
.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
vpc_id |
string | True | A unique identifier for a VPC. | |
per_page |
integer | False | Number of items returned per page | 20 |
page |
integer | False | Which ‘page’ of paginated results to return. | 1 |
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.
The response will be a JSON object with a key called peerings
. This will be set to an array of objects, each of which will contain the standard attributes associated with a VPC peering.
Unauthorized
The resource was not found.
API Rate limit exceeded
Server error.
Unexpected error