---
title: "Rename Org Mailbox"
method: PATCH
path: "/api/app-auto-gtm/outreach/mailboxes/{mailbox_id}"
tags: ["outreach"]
---

# Rename Org Mailbox

`PATCH /api/app-auto-gtm/outreach/mailboxes/{mailbox_id}`

Rename the From-name of one of the org's own BYO mailboxes — the UI
face of the gateway's ``PATCH /v1/mailboxes/{id}`` (T-778).

Scoped to the caller's own org's ``dedicated`` pool by the lookup below
(never another org's box, never shared operator inventory) — mirrors
``list_org_mailboxes``'s WHERE. The gateway rename is a pure DB-row
update (see ``outreach/routers/mailboxes.py`` — no EmailEngine
re-registration, since ``outreach/routers/send.py`` builds the From
header PER SEND straight off the gateway's ``display_name`` column), so
this proxy just re-syncs the single local row from the gateway's response
afterwards, same as the connect proxy.

## Path parameters

- `mailbox_id` string, required

## Cookies

- `ex_access` string, nullable
- `ex_org` string, nullable

## Request body

- RenameMailboxRequest
  - `from_name` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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