Soft delete a job

Marks a job as deleted by setting the date_deleted timestamp and deleted_by employee reference, without removing it from the database. The job will be excluded from most queries but can be restored using the undelete endpoint. The authenticated employee must have permission to delete the job, typically requiring admin privileges or being the job owner. If a comment is provided, a note will be automatically created on the job with the message 'Job Deleted: {comment}' for audit trail purposes. This is the preferred method for removing jobs as it maintains audit history and allows for recovery.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
≥ 1

The unique identifier of the job to soft delete

Body Params

Optional request body containing a comment explaining the reason for deletion. If provided, a note will be created on the job for audit purposes.

string

Optional comment explaining the reason for deletion. If provided, a note will be created on the job with the message 'Job Deleted: {comment}' for audit trail and internal documentation.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json