Transfer organization ownership
POST
/v1/organizations/{organizationId}/transfer-ownershipAtomically transfer ownership to a different active organization member. Only the current owner may perform this action.
How to call this endpoint
Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.
Path, query, and header parameters
These parameters control which ACP object the endpoint acts on and how the request is processed.
Path parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| organizationId | path | string | Yes | Organization ID |
Query parameters
None.
Body schema
Content type: application/json · Required
| Field | Type | Required | Description |
|---|---|---|---|
| memberId | string | Yes | Organization member record ID for the new owner. |
What the API returns
Each response code below includes the documented payload shape for the ACP API.
200Organization ownership transferredapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| data | object | No | — |
| data.id | string | No | Unique identifier. |
| data.name | string | No | Human-readable name. |
| data.slug | string | No | — |
| data.type | personal | company | No | — |
| data.ownerUserId | string | No | — |
| data.createdByUserId | string | No | — |
| data.status | active | disabled | No | Current lifecycle status. |
| data.metadata | object | No | Free-form metadata object. |
| data.createdAt | string | No | ISO 8601 timestamp. |
| data.updatedAt | string | No | ISO 8601 timestamp. |
| data.membership | object | No | — |
| data.membership.id | string | No | Unique identifier. |
| data.membership.organizationId | string | No | — |
| data.membership.userId | string | No | User ID. |
| data.membership.role | owner | admin | billing | developer | member | viewer | No | — |
| data.membership.status | active | removed | No | Current lifecycle status. |
| data.membership.invitedByUserId | string | No | — |
| data.membership.joinedAt | string | No | — |
| data.membership.createdAt | string | No | ISO 8601 timestamp. |
| data.membership.updatedAt | string | No | ISO 8601 timestamp. |
400Invalid target member
None.
403Only the current owner may transfer ownership
None.
409Ownership changed before the transfer completed
None.