Delete Leave Application

DELETE/api/leave-applications/{id}

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area
curl -X DELETE "https://yoursite.com/api/leave-applications/123" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

HTTP/1.1 200 OK
{
  "status": 200,
  "messages": {"success": "Leave application delete success"}
}
MethodDELETE
Path/api/leave-applications/{id}
GroupLeave Applications
Sincev1.0.0
Defined inRestApi/Controllers/LeaveApplicationsController.php