Skip to main content
DELETE
Deletes a leave type from your COR instance using its external ID. This removes both the leave type and the integration mapping. Cannot delete leave types that are currently in use by existing leave requests.

Path Parameters

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

Request Body Requirements

object
required

Known Errors

  • LeaveTypeNotFoundError — No leave type found with the specified external ID for this source
  • ValidationError — Missing required metadata.source field
  • DeletionError — Leave type cannot be deleted due to existing leave request associations