---
title: "Update an unsubscribe group"
method: PATCH
path: "/email_unsubscribe_groups/{id}"
tags: ["Email Unsubscribe Groups"]
---

# Update an unsubscribe group

`PATCH /email_unsubscribe_groups/{id}`

## Request

- Base URL: `https://api.telnyx.com/v2`
- URL: `https://api.telnyx.com/v2/email_unsubscribe_groups/{id}`
- Auth: HTTP bearer

Partial update (only `name` / `description`). `PUT` is not routed.

## Request body

- UpdateUnsubscribeGroupRequest: Partial update; `account_id`/`id` are immutable.
  - `name` string
  - `description` string, nullable

## Response `200`

The updated group.

- UnsubscribeGroupResponse
  - `data` UnsubscribeGroup, required
    - `id` string, uuid, required
    - `record_type` 'email_unsubscribe_group', required: View-only.
    - `name` string, required
    - `description` string, nullable, required: Always present (not omit-nullable); `null` when unset.
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `401`: Missing or invalid gateway auth.
- `404`: Resource not found (cross-account lookups and malformed UUIDs also return 404 — no leak).
- `406`: Framework-rendered error (e.g. 406 Not Acceptable, 405 Method Not Allowed, 415 Unsupported Media Type). HTTP status matches the error and the body `code` carries that same status (e.g. `"406"`, not a hardcoded `"500"`). The explicit `500.json` clause still emits `code: "500"` for genuine 500s.
- `422`: Validation error (changeset or internal `Params`). One error object per field, `source.pointer /data/attributes/<field>`.

## Changes

- **2026-10-15** `a72569d69430`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/team-telnyx/apis/telnyx-api/changes/email_unsubscribe_groups/:id/patch.md)

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api.md) - [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api/llms.txt) - [OpenAPI document](https://skmtc.dev/team-telnyx/apis/telnyx-api/revisions/0f17b8167873?raw)
