API Reference

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
Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!