BizKitHub
DocsAPI ReferenceAdmin/bff/admin/add-self-as-root
postAdminAdmin BFF

/bff/admin/add-self-as-root

Self-onboards the calling operator into the target organisation with full root permissions. Idempotent for membership creation. Skips the welcome email since this is an operator action. Requires internal admin membership.

AdminpostBffAdminAdd-self-as-root

Parameters

JSON body

Request body

application/json
organisationSlugstringRequired

Slug of the target organisation.

Exampleacme-corp

Response schema

1 status code documented

200Success
successbooleanRequired

Whether the operation succeeded.

memberExternalIdstringRequired

External id of the member that now holds root.

Response example

application/json
{
  "success": false,
  "memberExternalId": "example_memberExternalId"
}

Request example

POST /bff/admin/add-self-as-root

post
curl -X POST "https://api.bizkithub.com/bff/admin/add-self-as-root" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "organisationSlug": "acme-corp"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key