Rename an organization

People only, with a fresh second factor; an API key answers `person_required`.

PATCH/v1/organisations/{org_id}

People only, with a fresh second factor; an API key answers person_required. An owner or an admin renames the organization; its id stays. A closed organization is conflict.

For people only: a signed-in person with a fresh second factor makes this call, from the dashboard. Any API key is refused with person_required.

Request

curl -X PATCH "https://api.pod.mapier.ai/v1/organisations/org_3ahrz6dmv29gqy5ckt18fp" \
  -H "Authorization: Bearer $POD_PERSON_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"example"}'

Parameters

NameInTypeRequiredWhat it is
org_idpathstringYes
Idempotency-KeyheaderstringNoMakes a repeat of this call safe for 24 hours.

Body

FieldTypeRequiredWhat it is
namestringYes

Answer

200. The organization as changed.

200
{
  "id": "org_3ahrz6dmv29gqy5ckt18fp",
  "name": "example",
  "standing": "good",
  "plan": "example",
  "role": null,
  "created_at": "2026-11-23T12:00:00.000Z",
  "closure": null
}
FieldTypeAlwaysWhat it is
idstringYes
namestringYes
standing"good" | "past_due" | "suspended" | "closed"YesThe organization's standing; past due and suspended answer account_restricted on creates and wakes, and closed (its owner closed it) on every call.
planstringYes
role"owner" | "admin" | "member" | "viewer" | nullYesThe calling person's role; null for an API key.
created_atstringYesRFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z.
closureClosure | nullYesThe last closure, or null if it was never closed.

Errors

The refusals this call is known for: invalid, person_required, forbidden, not_found, conflict. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.

In the SDKs

ClientCall
TypeScriptpod.organisations.update(orgId, { name })
Pythonpod.organisations.update(org_id, name=…)