Parameters
JSON body
Request body
application/jsonslugstringRequiredBranch slug the lock is currently attached to.
lockIdnumberRequiredExternal TTLock identifier of the lock to detach.
Sets iot__ttlock_lock.branch_id back to NULL. Rejects when the lock is attached to a different branch than slug — that protects against stale-UI races.
JSON body
slugstringRequiredBranch slug the lock is currently attached to.
lockIdnumberRequiredExternal TTLock identifier of the lock to detach.
1 status code documented
successbooleanRequiredlockIdnumberRequiredbranchSlugstringRequired{
"success": false,
"lockId": 0,
"branchSlug": "example_branchSlug"
}POST /bff/branch/detach-lock
curl -X POST "https://api.bizkithub.com/bff/branch/detach-lock" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"slug": "example_slug",
"lockId": 0
}'All BizKitHub public API endpoints require authentication via API key.