Update or cancel an event

Edits the event and, in the same change, its shifts: a shift entry without id adds a shift, one with id edits it (absent fields stay as they are), and one with id and cancelled: true cancels it, which declines everyone on it. delete_shift_ids removes shifts nobody is on. cancelled: true cancels the whole event and declines everyone on it; it cannot be undone. Cancelling sends nothing by itself. The whole request applies or none of it does. Needs a manager API key. While Events is off for the organization this answers 403 feature_not_enabled.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required
Body Params
string
length between 1 and 200
string | null
string
length between 1 and 64
string
enum
Allowed:
tag_ids
array of strings
length ≤ 20
tag_ids
string | null
string | null
shifts
array of objects
length ≤ 200
shifts
delete_shift_ids
array of strings
length ≤ 200
delete_shift_ids
boolean
enum
Allowed:
Headers
uuid
required
string
required
length between 1 and 255

Required on every Events write. Workspace-scoped for 24 hours: the key, the change and its response are saved together, so repeating the request returns the committed result without changing anything twice, even when the first response was lost. The same key with a different body returns 409 idempotency_conflict. A refused request (for example 409 capacity_full) saves nothing, so a retry with the same key runs again.

Responses

Language
Credentials
Bearer
API Key
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json