Overview / People & HR / Delete a payroll

Delete a payroll

delete https://api.flactrum.com/v1/payrolls/{payroll}

A paid payroll cannot be deleted; it records a payment that happened.

Required scope payroll.write
Success status204

Parameters

NameInTypeDescription
payroll * 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/payrolls/01m43mzfq0dk1rq48ysj84xkwf' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 204

(empty body)