DocsAPI ReferenceBranch/bff/branch/update-branch-person
postBranchAdmin BFF

/bff/branch/update-branch-person

Updates the role / custom label / position on an existing branch_person row. Verifies the row belongs to the caller’s organisation.

BranchpostBffBranchUpdate-branch-person

Parameters

4 body

4 total
Body · 4
personIdstringRequired

Internal id of the branch_person row (from the detail response).

rolestring

New role; one of: branch_contact, owner, manager, custodian, cleaner, technician, accountant, security, support, other.

customLabelstring | null
positionnumber

New sort position.

Request

POST /bff/branch/update-branch-person

post
curl -X POST "https://api.bizkithub.com/bff/branch/update-branch-person" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "personId": "example_personId",
  "role": "example_role",
  "position": 0
}'

Response

JSON payload

{
  "success": false
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key