Skip to main content
DELETE
Deletes a leave request from your COR instance using its external ID. This removes both the leave request and the integration mapping.

Path Parameters

string
required
External leave request ID that was used when creating the leave request

Request Body Requirements

object
required
string
required
External user ID. The user must have been previously created through the integrations API.

Known Errors

  • LeaveNotFoundError — No leave request found with the specified external ID for this source
  • ValidationError — Missing required metadata.source or userId field
  • UserNotFoundError — The specified user does not exist in the integration mappings