Skip to main content
POST
Transfer ownership to a workspace member

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>.

Path Parameters

app_id
string
required

ID of the app.

Body

application/json

The workspace member who becomes the app's owner.

new_owner_user_id
string
required

ID of the Base44 user who becomes the owner. They have to be an owner, admin, editor, or member of the app's workspace.

Minimum string length: 1
Example:

"6706af53b9c1e2004a37d85f"

keep_sender_as_collaborator
boolean
default:false

Whether the app's current owner keeps editor access to the app after the transfer (true) or loses their direct access to it (false). An owner or admin of the workspace the app ends up in keeps access through that workspace either way. Defaults to false.

Example:

false

Response

The app, with its new owner.

The app after its ownership changed.

app_id
string
required

ID of the app.

Example:

"6820f3a4e7b91d003c45a1f2"

app_name
string
required

Name of the app.

Example:

"Acme CRM"

new_owner_id
string
required

ID of the Base44 user who owns the app now.

Example:

"6706af53b9c1e2004a37d85f"

app_type
string | null

Type of the app, for example user_app or user_agent, or null when it isn't set.

Example:

"user_app"

target_workspace_id
string | null

ID of the workspace the app is in.

Example:

"67f2c8e01a3b5d004e92d7a1"