Apps

Transfer an app between the caller and a team

User-gated (chrm_user_* or session). With teamId: user→team (caller must hold app:manage on the app and be owner/admin of the team). Without: team→user transfer to the caller.

post/api/v1/apps/{appId}/transfer

Request

  • Base URL: https://charm.ing
  • URL: https://charm.ing/api/v1/apps/{appId}/transfer
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Secure-better-auth.session_token

Path parameters

appIdstring uuid required

Request body

teamIdstring nullable

Destination team. Absent or null = transfer to the caller.

keepExistingAppMembersboolean

Keep direct grants, pending invitations, and active single-use links. Omitted means true.

Response

App transferred.

oktrue required
userIdstring nullable required
teamIdstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.