---
title: "Update an existing partner attachment"
method: PATCH
path: "/v2/partner_network_connect/attachments/{pa_id}"
tags: ["DigitalOcean-public.v2-new_Partner Network Connect"]
---

# Update an existing partner attachment

`PATCH /v2/partner_network_connect/attachments/{pa_id}`

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.

## Path parameters

- `pa_id` string, string, required

## Request body

- union
  - object
    - `name` string, required — The name of the partner attachment. Must be unique and may only contain alphanumeric characters, dashes, and periods.
  - object
    - `vpc_ids` string[], required — An array of VPCs IDs.
  - object
    - `bgp` object — BGP configurations
      - `local_router_ip` string, required — IP of the DO router
      - `peer_router_ip` string, required — IP of the NaaS provider router
      - `peer_router_asn` integer, required — ASN of the peer router
      - `auth_key` string, required — BGP Auth Key

## Response `202`

The response will be a JSON object with details about the partner attachment
including attached VPC network IDs and BGP configuration information

- object
  - `partner_attachment` PartnerAttachment
    - `id` string, string — A unique ID that can be used to identify and reference the partner attachment.
    - `name` string — The name of the partner attachment. Must be unique and may only contain alphanumeric characters, dashes, and periods.
    - `state` string — The current operational state of the attachment.
    - `connection_bandwidth_in_mbps` integer — The bandwidth (in Mbps) of the connection.
    - `region` string — The region where the partner attachment is located.
    - `naas_provider` string — The Network as a Service (NaaS) provider for the partner attachment.
    - `vpc_ids` string[] — An array of VPC network IDs.
    - `bgp` object — The BGP configuration for the partner attachment.
      - `local_asn` integer — ASN of the local router.
      - `peer_asn` integer — ASN of the peer router
      - `local_router_ip` string — IP of the DigitalOcean router
      - `peer_router_ip` string — IP of the peer router
    - `created_at` string, date-time — A time value given in ISO8601 combined date and time format.
    - `parent_uuid` string — Associated partner attachment UUID
    - `children` string[] — An array of associated partner attachment UUIDs.

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

## Changes

- **2025-10-16** `cb3bf9b21459` — 2 info
  - api tag `DigitalOcean-public.v2-new_Partner Network Connect` added
  - api tag `Partner Network Connect` removed
- **2025-07-18** `f8e8c290636c` — 1 info
  - endpoint added
- **2025-07-17** `5fc9af728e82` — 1 breaking
  - api path removed without deprecation
- **2025-07-17** `f8e8c290636c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/digitalocean/apis/digitalocean-api/changes/v2/partner_network_connect/attachments/:pa_id/patch.md)

---

[API](https://skmtc.dev/digitalocean/apis/digitalocean-api.md) · [All operations](https://skmtc.dev/digitalocean/apis/digitalocean-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/digitalocean/digitalocean-api/revisions/cb3bf9b21459/schema)
