RosterUndo a shift import

Undo a shift import

Needs: Roster, Read-write

Deletes the shifts one import batch created, except shifts that have been clocked in, have notes, or were cancelled since. Confirm before calling this.

Note: Shifts that were kept are counted in kept_started_or_with_notes, and any that failed are listed in failed.

curl -X DELETE "https://app.imploy.com.au/api/integrations/v1/shifts/import/example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "batch": "7d9e0a14-3c1b-4a2f-8d55-0e6f7a8b9c10",
  "removed": 1
}
DELETE
/shifts/import/{batch}
DELETE
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

An organisation access token that starts with imp_at_. Send it as Authorization: Bearer imp_at_XXXX.

An organisation access token that starts with imp_at_. Send it as Authorization: Bearer imp_at_XXXX.
path
batchstring
Required

The batch id returned by the import.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. An organisation access token that starts with imp_at_. Send it as Authorization: Bearer imp_at_XXXX.

Path Parameters

batchstring
Required

The batch id returned by the import.

Responses

OK