Delete Pending Shifts

Given a Zeal Shift ID, this endpoint will delete the shift. Shift MUST still be in the pending stage for it to be deleted. Can delete multiple shifts at once using multiple or an array of query parameters.

Returns

Returns response status and a message based on whether the request was successful or not.

attributestypedescription
successbooleanResponse status
messagestringMessage based on if the request was successful.
errorsarrayContains a list of error objects which consists of:
message: Error message
code: Error code as described in Error codes
Language
Authorization
Header
Click Try It! to start a request and see the response here!