---
title: "Transfer organization ownership"
method: POST
path: "/admin/simple/accounts/transfer-ownership"
tags: ["Admin"]
---

# Transfer organization ownership

`POST /admin/simple/accounts/transfer-ownership`

## Request body

- AdminSimpleAccountsOrganizationsTransferOwnership
  - `organizations` object, nullable
  - `users` object, required
  - `include_workspaces` union
    - 'all'
    - string[]
  - `include_projects` union
    - 'all'
    - string[]
  - `reason` string, nullable
  - `recovery` boolean, nullable

## Response `200`

Partial transfer — some orgs could not be transferred.

- AdminSimpleAccountsOrganizationsTransferOwnershipResponse
  - `transferred` string[]
  - `errors` AdminStructuredError[], nullable
    - `code` string, required
    - `message` string, required
    - `details` object, nullable

## Other responses

- `204` — Successful Response
- `422` — Validation Error

## Changes

- **2026-05-08** `5e6f53ce5d08` — 1 info
  - api operation id `admin_transfer_ownership` removed and replaced with `transfer_ownership_admin_simple_accounts_transfer_ownership_post`
- **2026-04-16** `8b06b786c977` — 1 info
  - endpoint added
- **2025-06-27** `e3e84db47198` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/admin/simple/accounts/transfer-ownership/post.md)

---

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