Skip to main content
POST
https://api.unify.ai
/
v0
/
organizations
/
{organization_id}
/
transfer-ownership
curl --request POST \
  --url 'https://api.unify.ai/v0/organizations/<organization_id>/transfer-ownership' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "id": "integer",
    "name": "string",
    "owner_id": "string",
    "billing_user_id": "string",
    "created_at": "string"
}
Transfer organization ownership to another member. Only the current owner can transfer ownership. The new owner must already be a member of the organization. Changes applied:
  • org.owner_id → new_owner_id
  • org.billing_user_id → new_owner_id (billing always follows owner)
  • new_owner’s role → Owner
  • old_owner’s role → Admin

Authorizations

Authorization
string
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organization_id
integer
required

Body

new_owner_id
string
required
curl --request POST \
  --url 'https://api.unify.ai/v0/organizations/<organization_id>/transfer-ownership' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "id": "integer",
    "name": "string",
    "owner_id": "string",
    "billing_user_id": "string",
    "created_at": "string"
}