Skip to main content
POST
/
v0
/
project
/
{project_id}
/
transfer-to-organization
curl --request POST \
  --url 'https://api.unify.ai/v0/project/<project_id>/transfer-to-organization' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "success": true,
    "project_id": 123,
    "project_name": "my-project",
    "from_type": "personal",
    "to_type": "organization",
    "message": "Project successfully transferred to organization 'My Org'"
}
Transfer a personal project to an organization. Requirements:
  • User must own the personal project (project.user_id == user_id)
  • User must have org:write permission on target organization
  • Project must be personal (organization_id = NULL)
Process:
  • Sets project.organization_id = target org
  • Sets project.user_id = NULL (org-owned)
  • No ResourceAccess entries created (implicit membership handles access)

Authorizations

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

Path Parameters

project_id
integer
required

Body

organization_id
integer
required
curl --request POST \
  --url 'https://api.unify.ai/v0/project/<project_id>/transfer-to-organization' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "success": true,
    "project_id": 123,
    "project_name": "my-project",
    "from_type": "personal",
    "to_type": "organization",
    "message": "Project successfully transferred to organization 'My Org'"
}