---
title: "Transfer organization ownership"
method: PATCH
path: "/organizations/{orgId}/owner"
tags: ["organizations"]
---

# Transfer organization ownership

`PATCH /organizations/{orgId}/owner`

Transfers the ownership of an organization to another user within the organization.
- Only the current **organization owner** can perform this action.
- The new owner **must be an existing member** of the organization.
- The current owner **will be demoted to a regular user** after the transfer.

## Path parameters

- `orgId` string, uuid, required

## Request body

- TransferOrganizationOwnerRequest
  - `newOwnerId` string, required — The user ID of the new owner, who must be a current member of the organization.

## Response `200`

Successfully transferred the organization ownership.

## Other responses

- `400` — - [group:**request**, code:**0**]: Invalid field in the request. - [group:**organization**, code:**4**]: User is already the owner of the organization. - [group:**organization**, code:**5**]: User is not a member of this organization.
- `404` — - [group:**organization**, code:**0**]: Organization does not exist. - [group:**user**, code:**1**]: User does not exist.
- `500` — - [group:**organization**, code:**1200**]: Get organization grouping policy encountered error. - [group:**organization**, code:**1400**]: Update organization grouping policy encountered error. - [group:**organization**, code:**1201**]: Get organization encountered DB error. - [group:user, code:1200]: Get user encountered DB error. - [group:**session**, code:**3**]: Failed to save session to cache.

---

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