Overview / People & HR / Delete a salary

Delete a salary

delete https://api.flactrum.com/v1/salaries/{salary}

A salary with payroll records cannot be deleted.

Required scope payroll.write
Success status204

Parameters

NameInTypeDescription
salary * 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/salaries/01m43mzf7zyj23zb0502k4zmhe' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 204

(empty body)