DocsAPI ReferenceBranch/bff/branch/attach-calendar
postBranchAdmin BFF

/bff/branch/attach-calendar

Sets core__calendar.branch_id = branchId. The calendar must belong to the same organisation. A calendar can only be attached to one branch at a time.

BranchpostBffBranchAttach-calendar

Parameters

2 body

2 total
Body · 2
slugstringRequired

Branch slug.

calendarIdstringRequired

Calendar ID to attach.

Request

POST /bff/branch/attach-calendar

post
curl -X POST "https://api.bizkithub.com/bff/branch/attach-calendar" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "slug": "example_slug",
  "calendarId": "example_calendarId"
}'

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