DocsAPI ReferenceBranch/bff/branch/attachable-locks
getBranchAdmin BFF

/bff/branch/attachable-locks

Returns every lock in the organisation that is either unattached or already attached to THIS branch. Locks linked to a different branch are filtered out — the operator must detach them first.

BranchgetBffBranchAttachable-locks

Parameters

1 query

1 total
Query · 1
slugstringRequired

Branch slug — locks already attached to this branch are flagged.

Request

GET /bff/branch/attachable-locks

get
curl -X GET "https://api.bizkithub.com/bff/branch/attachable-locks?slug=example_slug" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

JSON payload

{
  "items": [
    {
      "lockId": 0,
      "alias": "example_alias",
      "electricQuantity": 0,
      "hasGateway": false,
      "active": false,
      "attached": false
    }
  ]
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key