Skip to main content
DELETE
/
company
/
leaves-types
Delete Leave Type
curl --request DELETE \
  --url https://api.projectcor.com/v1/company/leaves-types \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 111
}'
{
  "id": 111
}

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 type ID to delete

Response

200 - application/json

Leave type deleted successfully

id
integer