/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
Body · 3
organisationSlugstringRequiredSlug of the organisation.
memberIdstringRequiredWire member id (shop__contact.external_id). Pending invitations are not accepted.
hasRootbooleanRequiredtrue → grant root role, false → revoke root role and any direct root permission.
Request
POST /bff/admin/set-member-root
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.