Hand the organization to another member
People only, with a fresh second factor.
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
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
org_id | path | string | Yes | |
Idempotency-Key | header | string | No | Makes a repeat of this call safe for 24 hours. |
Body
| Field | Type | Required | What it is |
|---|---|---|---|
to | string | Yes | An identity account id, the sub of the person's Mapier identity token. |
Answer
200. Both members as changed, the new owner first.
{
"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
}
}| Field | Type | Always | What it is |
|---|---|---|---|
owner | Member | Yes | |
previous_owner | Member | Yes |
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
| Client | Call |
|---|---|
| TypeScript | pod.organisations.transfer(orgId, account) |
| Python | pod.organisations.transfer(org_id, account) |