Skip to content

Cancel Shift

DELETE {{base_url}}/api/v3/shifts/{{SHIFT_ID}}

Required scope: shifts:write

Cancels (soft-deletes) an operator-owned shift. Requires admin credentials. This action cannot be applied to a Toast-clocked shift and returns 409 in that case. Missing and foreign-operator shift IDs return 404.

Terminal window
curl --request DELETE '${base_url}/api/v3/shifts/550e8400-e29b-41d4-a716-446655440000'
{
"type": "success",
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"deleted": true
}
}