---
title: "Update a Global IP assignment"
method: PATCH
path: "/global_ip_assignments/{id}"
tags: ["Global IPs"]
---

# Update a Global IP assignment

`PATCH /global_ip_assignments/{id}`

Update a Global IP assignment.

## Path parameters

- `id` string, uuid, required

## Request body

- GlobalIpAssignmentUpdate
  - `id` string, uuid — Identifies the resource.
  - `record_type` string — Identifies the type of the resource.
  - `created_at` string — ISO 8601 formatted date-time indicating when the resource was created.
  - `updated_at` string — ISO 8601 formatted date-time indicating when the resource was updated.
  - `global_ip_id` string, uuid — Global IP ID.
  - `wireguard_peer_id` string, uuid — Wireguard peer ID.
  - `status` 'created' | 'provisioning' | 'provisioned' | 'deleting' — The current status of the interface deployment.
  - `is_connected` boolean — Wireguard peer is connected.
  - `is_in_maintenance` boolean — Enable/disable BGP announcement.
  - `is_announced` boolean — Status of BGP announcement.

## Response `200`

Successful response

- object
  - `data` GlobalIpAssignment
    - `id` string, uuid — Identifies the resource.
    - `record_type` string — Identifies the type of the resource.
    - `created_at` string — ISO 8601 formatted date-time indicating when the resource was created.
    - `updated_at` string — ISO 8601 formatted date-time indicating when the resource was updated.
    - `global_ip_id` string, uuid — Global IP ID.
    - `wireguard_peer_id` string, uuid — Wireguard peer ID.
    - `status` 'created' | 'provisioning' | 'provisioned' | 'deleting' — The current status of the interface deployment.
    - `is_connected` boolean — Wireguard peer is connected.
    - `is_in_maintenance` boolean — Enable/disable BGP announcement.
    - `is_announced` boolean — Status of BGP announcement.

## Other responses

- `422` — Unexpected error
- `default` — Unexpected error

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/versions/8f5f4e537994/schema)
