Skip to main content

Delete a job listing

It is not possible to delete an existing job listing unless it has not been published. You can use this endpoint to send the listing status and the system will determine whether it can be deleted.

Endpoint

POST https://canadamotorjobs.com/api/v1/{locale}/job-listings/delete

URL parameters

ParameterTypeDescription
job_listing_idstringThe unique job listing identifier
statusstring: filled, expired, deletedThe job listing status

The status can be:

  • filled: The position has been filled, applications are closed, but remains visible for the remaining display period.
  • ended: The listing has expired, which will remove the listing from the site
  • deleted: The listing has been deleted; switches to ended if published, otherwise it will be deleted immediately

Required headers

Authorization: Bearer your_access_token

Response codes

CodeDescription
204Success - The listing has been deleted
404Listing not found
401Unauthorized
403Access denied

Important notes

  • Deletion is permanent and cannot be undone
  • All data associated with the listing will also be deleted
  • Applications linked to this listing will be archived