pydo.partner_attachments.patch()
Generated on 9 Jun 2026
from pydo version
v0.36.0
Usage
client.partner_attachments.patch(
pa_id="4de7ac8b-495b-4884-9a69-1050c6793cd6",
body={
"name": "env.prod-partner-network-connect",
"vpc_ids": [...],
"bgp": {...},
},
)Description
To update an existing partner attachment, send a PATCH request to
/v2/partner_network_connect/attachments/{pa_id} with a JSON object containing the
fields to be updated.
Parameters
pa_idstring requiredA unique identifier for a partner attachment.
namestring optionalExample:
env.prod-partner-network-connectThe name of the partner attachment. Must be unique and may only contain alphanumeric characters, dashes, and periods.
vpc_idsarray of strings optionalExample:
['c140286f-e6ce-4131-8b7b-df4590ce8d6a', '994a2735-dc84-11e8-80bc-3cfdfea9fba1']An array of VPCs IDs.
bgpobject optionalBGP configurations
Show child properties
local_router_ipstring requiredExample:
169.254.0.1/29IP of the DO router
peer_router_ipstring requiredExample:
169.254.0.6/29IP of the NaaS provider router
peer_router_asninteger requiredExample:
64532ASN of the peer router
auth_keystring requiredExample:
0xsNnb1pwQlowdoMySEfWwk4IBGP Auth Key
Request Sample
Response Example
More Information
See /v2/partner_network_connect/attachments/{pa_id} in the API reference for additional detail on responses, headers, parameters, and more.