dots.v2.vpcs.byVpc_Id().peerings.post()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Usage
client.v2.vpcs.byVpc_Id(vpc_Id).peerings.post(body: PeeringsPostRequestBody, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | PeeringsPostResponse>Description
To create a new VPC peering for a given VPC, send a POST request to
/v2/vpcs/{vpc_id}/peerings.
Parameters
Path Parameters
vpc_Idstring requiredExample:
4de7ac8b-495b-4884-9a69-1050c6793cd6A unique identifier for a VPC.
Request Body
namestring requiredExample:
nyc1-blr1-peeringThe name of the VPC peering. Must be unique and may only contain alphanumeric characters, dashes, and periods.
vpcIdstring requiredExample:
c140286f-e6ce-4131-8b7b-df4590ce8d6aThe ID of the VPC to peer with.
Request Sample
Response Example
More Information
See /v2/vpcs/{vpc_id}/peerings in the API reference for additional detail on responses, headers, parameters, and more.