Skip to main content

Delete Shift

Delete a staff shift. This action is permanent and cannot be undone.

Endpointโ€‹

DELETE /v1/staff/shifts/{id}

Authenticationโ€‹

Requires an API key with the staff:write scope.

Path Parametersโ€‹

ParameterTypeDescription
idintegerThe shift ID

Responseโ€‹

Success (200 OK)โ€‹

{
"data": {
"deleted": true
},
"meta": {
"request_id": "req_abc123",
"timestamp": "2026-03-10T09:30:00+00:00"
}
}

Errorsโ€‹

StatusCodeDescription
401authentication_requiredNo API key provided
401invalid_api_keyInvalid API key
403insufficient_scopeAPI key lacks staff:write scope
403forbiddenShift belongs to a different supplier
404not_foundShift not found

Example Requestโ€‹

curl -X DELETE "https://app.equipdash.com/api/v1/staff/shifts/15" \
-H "Authorization: Bearer eqd_live_abc123xyz789..."