Hand the organization to another member

People only, with a fresh second factor.

POST/v1/organisations/{org_id}/transfer

People only, with a fresh second factor. An owner names a member, who becomes an owner; the person who handed it over becomes an admin, in the same change, so the organization always keeps an owner. Naming someone who is not a member is not_found; naming yourself, or an organization that is closed, 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 POST "https://api.pod.mapier.ai/v1/organisations/org_3ahrz6dmv29gqy5ckt18fp/transfer" \
  -H "Authorization: Bearer $POD_PERSON_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"to":"example"}'

Parameters

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

Body

FieldTypeRequiredWhat it is
tostringYesAn identity account id, the sub of the person's Mapier identity token.

Answer

200. Both members as changed, the new owner first.

200
{
  "owner": {
    "account": "example",
    "organisation": "org_3ahrz6dmv29gqy5ckt18fp",
    "role": "owner",
    "projects": null,
    "created_at": "2026-11-23T12:00:00.000Z",
    "limits": {
      "max_sandboxes": null,
      "max_awake": null
    },
    "spend_cap": null
  },
  "previous_owner": {
    "account": "example",
    "organisation": "org_3ahrz6dmv29gqy5ckt18fp",
    "role": "owner",
    "projects": null,
    "created_at": "2026-11-23T12:00:00.000Z",
    "limits": {
      "max_sandboxes": null,
      "max_awake": null
    },
    "spend_cap": null
  }
}
FieldTypeAlwaysWhat it is
ownerMemberYes
previous_ownerMemberYes

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.transfer(orgId, account)
Pythonpod.organisations.transfer(org_id, account)