Overview /
People & HR /
Delete an employee
Delete an employee
delete
https://api.flactrum.com/v1/employees/{employee}
An employee with shift assignments cannot be deleted; past planning would lose its owner. Set status to left instead.
| Required scope | employees.write |
| Success status | 204 |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| employee * | 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/employees/01m43mzdw8nc9jdxwtaw7k2yv8' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 204
(empty body)