Skip to content

Control Automation Schedule

POST
/api/automations/{automation_alias}/schedule/{action}
curl --request POST \
--url https://example.com/api/automations/example/schedule/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'

Pause or resume the automation’s Databricks job schedule. action must be ‘pause’ or ‘resume’.

automation_alias
required
Automation Alias
string
action
required
Action
string
Media typeapplication/json
AutomationScheduleActionRequest

For /automations/{alias}/schedule/{pause|resume}

object
Examplegenerated
{}

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}