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

1 body

1 total
Body · 1
organisationSlugstringRequired

Slug of the target organisation.

Request

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"
}'

Response

JSON payload

{
  "success": false,
  "memberExternalId": "example_memberExternalId"
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key