Delete a correction

Deletes a draft correction and all draft payrolls attached to it.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Deletes a correction.

A correction may only be deleted while it is in the draft status. Deleting a correction also deletes all draft payrolls attached to it, including void payrolls and external payrolls. A correction deleted webhook is sent.

To delete an individual draft payroll from a correction without deleting the whole correction, use the existing Delete a payroll and Delete an external payroll endpoints — deleting a draft payroll removes it from the correction.

Errors

  • correction_not_draft — the correction is not in draft.
  • locked_resource_error (HTTP 409) — an approval is in progress for the correction.
Path Params
string
required

ID of the correction to delete

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!