Delete Pending Shifts

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

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.

attributes type description
success boolean Response status
message string Message based on if the request was successful.
errors array Contains a list of error objects which consists of:
message: Error message
code: Error code as described in Error codes

companyID

string

required

Company ID of the employer

shiftID

string

required

ID of Shift

``200 200

``400 400

ShellNodeRubyPHPPython


xxxxxxxxxx

curl --request DELETE \
     --url https://api.zeal.com/shifts \
     --header 'accept: application/json'