Update or cancel a shift

Edits one shift (absent fields stay as they are). A new location replaces the old one. A cap cannot drop below the places already taken. cancelled: true cancels the shift and declines everyone on it; it sends nothing by itself. 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 | null
date-time
date-time
location
integer | null
0 to 1000000
string | null
string | null
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