Skip to navigation

Delete multiple shifts by External ID

Permanently deletes multiple shifts in a single call using their external IDs; once deleted, the shifts cannot be retrieved or modified. Deletion is blocked once the payroll cycle a shift belongs to has closed. The call is all-or-nothing: if any referenced shift has a closed payroll cycle or cannot be found, no shifts are deleted and the request fails.

Token scopes: time-tracking:write

Authentication

AuthorizationBearer

Authentication

The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.

curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \
  -H 'Authorization: Bearer YOUR-TOKEN-HERE'

Learn more about authentication

OR
AuthorizationBearer

Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

Request

Request body to bulk delete shifts by their external IDs.
dataobjectRequired

Response

Shifts deleted successfully
dataobject

Errors

401
Unauthorized Error
403
Forbidden Error