Transfer project ownership
PATCH
/v1/projects/{projectId}/ownerTransfer canonical project ownership to an active member of the same organization. Requires the project ownership-transfer permission.
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 |
|---|---|---|---|---|
| projectId | path | string | Yes | Project ID |
Query parameters
None.
Body schema
Content type: application/json · Required
| Field | Type | Required | Description |
|---|---|---|---|
| ownerUserId | string | Yes | — |
What the API returns
Each response code below includes the documented payload shape for the ACP API.
200Project ownership transferredapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| project | object | No | — |
| project.id | string | No | Unique identifier. |
| project.userId | string | No | User ID. |
| project.ownerUserId | string | No | — |
| project.ownerName | string | No | — |
| project.ownerEmail | string | No | — |
| project.ownerAvatarUrl | string | No | — |
| project.owner | object | No | — |
| project.owner.userId | string | Yes | User ID. |
| project.owner.name | string | Yes | Human-readable name. |
| project.owner.email | string | No | — |
| project.owner.avatarUrl | string | No | — |
| project.canTransferOwnership | boolean | No | — |
| project.organizationId | string | No | — |
| project.createdByUserId | string | No | — |
| project.name | string | No | Human-readable name. |
| project.description | string | No | Human-readable description. |
| project.type | local | cloud | synced | No | — |
| project.primarySource | string | No | — |
| project.sources | object[] | No | — |
| project.createdAt | string | No | ISO 8601 timestamp. |
| project.updatedAt | string | No | ISO 8601 timestamp. |
400Invalid owner or owner is not an active organization member
None.
403Ownership transfer permission is required
None.
404Resource not foundapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |