hi ryan is it possible to know pause the databricks job using databricks api without Databricks UI

adi45565465
New Contributor III
 

Ryan_Chynoweth
Databricks Employee
Databricks Employee

Yes, in your jobs settings there is a field called "pause_status" where you can set it to "UNPAUSED" or "PAUSED".

"schedule": {
      "quartz_cron_expression": "0 15 22 * * ?",
      "timezone_id": "America/Los_Angeles",
      "pause_status": "UNPAUSED"
    }

You can see this in our Jobs 2.0 API here with the Reset endpoint which overwrites all settings for a job.

adi45565465
New Contributor III

actually i have tried it but my data jobs still remained unchanged