---
title: "POST Transfer organization ownership"
description: "Transfers ownership of the organization to another user."
last_updated: "2026-05-06T07:33:50.189443+00:00"
canonical_url: "https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/api/organization/organizationcontroller-transferownership"
---

<APIEndpoint
  method={"POST"}
  path={"/organization/transfer-ownership"}
  summary={"Transfer organization ownership"}
  description={"Transfers ownership of the organization to another user."}
  deprecated={false}
  baseUrl={""}
/>

## Parameters

<APIParameters parameters={[{"name":"X-Organization-Id","in":"header","required":false,"description":"Organization ID (required for session auth, optional for API key auth)","schema":{"type":"string"}}]} />

## Request Body

Data for transferring ownership.

<APIRequestBody
  contentType={"application/json"}
  required={true}
  schema={{"type":"object"}}
/>

## Responses

<APIResponse
  statusCode={"200"}
  description={"Organization ownership transferred successfully."}
  contentType={"application/json"}
/>

<APIResponse
  statusCode={"400"}
  description={"Bad Request - Invalid input data or missing user ID for API key auth."}
  contentType={"application/json"}
/>

<APIResponse
  statusCode={"401"}
  description={"Unauthorized - Authentication required."}
  contentType={"application/json"}
/>

<APIResponse
  statusCode={"403"}
  description={"Forbidden - User does not have permission to transfer ownership."}
  contentType={"application/json"}
/>

<APIResponse
  statusCode={"404"}
  description={"Not Found - Organization or user not found."}
  contentType={"application/json"}
/>

## Try It

<APIPlayground
  method={"POST"}
  path={"/organization/transfer-ownership"}
  parameters={[{"name":"X-Organization-Id","in":"header","required":false,"description":"Organization ID (required for session auth, optional for API key auth)","schema":{"type":"string"}}]}
  requestBody={{"contentType":"application/json","required":true,"description":"Data for transferring ownership.","schema":{"type":"object"}}}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/llms.txt) for all pages in this wiki.
