---
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

---

[API](https://skmtc.net/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.net/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agenta-ai/agenta-api/versions/ea6421d829f1/schema)
