Set a Job's Status

Overview

Setting a job's status will set the job to online, offline or archived dependent upon the status parameter passed.

Action Type

  • set_job_status

Required Data

  • job_id The id of the job for which to set the status.
  • status A string of the status to be set. Must be either online, offline or archived

Optional Data

None.

Example Request Payload

{
  "type": "set_job_status",
  "data": {
  	"job_id": 7812,
    "status": "online"
  }
}

Usage

Upon execution of the action, you will see the job have the submitted status:

237 292