cURL
curl --request DELETE \ --url https://api.projectcor.com/v1/user/leaves \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "id": 15489, "userId": 8555 } '
{ "id": 15489 }
Deletes a leave/license by providing the leave ID and user ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Leave ID to delete
User ID
Leave deleted successfully