admin

Promote User To Business

Promote a user to a Business organization. Super admin only.

mode="create" -> create a new Business org with the user as owner. mode="add" -> add the user to an existing org (default role: member). Super admins bypass the seat cap here by design.

post/api/admin/users/{user_id}/promote-business

Request

  • Base URL: https://app.ctlsurf.com (the document declares no server; this is the origin it was published from)
  • URL: https://app.ctlsurf.com/api/admin/users/{user_id}/promote-business
  • Auth: HTTP bearer

Path parameters

user_idstring required

Request body

modestring required
org_namestring nullable
org_idstring nullable
rolestring nullable

Response

Successful Response

unknown required

Changes

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