post https://api.ashbyhq.com/job.setStatus
Sets the status on a job by id.
Requires the jobsWrite
permission.
All jobs are drafts when they're first created. There are a few validations around the stages a job can be transitioned to:
- Drafts can be changed to Open or Archived
- Open jobs can be changed to Closed
- Closed jobs can be changed to Draft or Archived
- Archived jobs can be changed to a Draft