Skip to main content
PATCH
cURL
Send labours, an array with one entry per labour: its id and the slots to set in labour_availability or labour_custom_availability. Each slot has a preferred_day, start_time, end_time and available. When it succeeds, the update returns 204 with no body.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set host to your Exsited API host name and paste an access token from Get an access token. To send a raw JSON body instead of filling in fields, copy the cURL sample and edit its -d payload.

Authorizations

Authorization
string
header
required

An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.

Body

application/json
labours
object[]
required

Response

204

The availability is updated. No body.