dots.v2.vpc_peerings.byVpc_peering_id().patch()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
client.v2.vpc_peerings.byVpc_peering_id(vpc_peering_id).patch(body: WithVpc_peering_PatchRequestBody, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | WithVpc_peering_PatchResponse>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
Path Parameters
vpc_peering_idstring requiredExample:
5a4981aa-9653-4bd1-bef5-d6bff52042e4A unique identifier for a VPC peering.
Request Body
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.