Delete Time Off Request
Deletes a time off request of the organization. The request stops counting as vacations/leave and the time it had consumed is released back to the user’s balance. A request that no longer exists cannot be deleted.
Authentication
Api-Keystring
API key of the organization. Always sent together with the Secret-Access header.
Path parameters
organization_slug
request_id
Headers
Secret-Access
Response
Time off request deleted
success
True when the request was deleted.
message
Human readable result of the deletion.
code
Result code of the operation, namespaced by section — not an HTTP status. The reason of a failed deletion travels in the error payload instead.
datetime
Datetime of the API in ISO Format
data
Identification of the deleted time off request.
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
