Skip to main content
DELETE
/
user
/
leaves
Delete License
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
integer
required

Leave ID to delete

userId
integer
required

User ID

Response

200 - application/json

Leave deleted successfully

id
integer