DocsAPI ReferenceAdmin/bff/admin/set-member-root
postAdminAdmin BFF

/bff/admin/set-member-root

Additively toggles the root role on an organisation member. Other permissions and roles are left untouched. Triggers the standard root-grant audit log when transitioning from non-root to root. Requires internal admin membership.

AdminpostBffAdminSet-member-root

Parameters

3 body

3 total
Body · 3
organisationSlugstringRequired

Slug of the organisation.

memberIdstringRequired

Wire member id (shop__contact.external_id). Pending invitations are not accepted.

hasRootbooleanRequired

true → grant root role, false → revoke root role and any direct root permission.

Request

POST /bff/admin/set-member-root

post
curl -X POST "https://api.bizkithub.com/bff/admin/set-member-root" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "organisationSlug": "acme-corp",
  "memberId": "cust_abc123",
  "hasRoot": false
}'

Response

JSON payload

{
  "success": false,
  "hasRoot": false
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key