Overview /
People & HR /
Delete a leave request
Delete a leave request
delete
https://api.flactrum.com/v1/leave-requests/{leave}
| Required scope | leaves.write |
| Success status | 204 |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| leave * | path | string | ULID of the record. |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X DELETE 'https://api.flactrum.com/v1/leave-requests/01m43mzf1x52tqvgjdfsevkrnd' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 204
(empty body)