pydo.vpc_peerings.patch()
Generated on 8 May 2026
from pydo version
v0.34.0
Usage
client.vpc_peerings.patch(
vpc_peering_id="5a4981aa-9653-4bd1-bef5-d6bff52042e4",
body={
"name": "nyc1-blr1-peering",
},
)Description
To update the name of a VPC peering, send a PATCH request to /v2/vpc_peerings/{vpc_peering_id} with the new name in the request body.
Parameters
vpc_peering_idstring requiredA unique identifier for a VPC peering.
namestring requiredExample:
nyc1-blr1-peeringThe name of the VPC peering. Must be unique within the team and may only contain alphanumeric characters and dashes.
Request Sample
Response Example
More Information
See /v2/vpc_peerings/{vpc_peering_id} in the API reference for additional detail on responses, headers, parameters, and more.