Change a job's configuration
/ops/jobs/definitions/{name}Send only the fields to change. Applies to every instance within moments. Disabling or rescheduling requires a reason.
Path parameters
namestringrequiredRequest body application/json · required
enabledbooleanmax_attemptsinteger (int64)priorityinteger (int64)queuestringreasonstringRequired to disable or reschedule a job
max length 500schedulestring5-field cron in UTC, @every duration, or empty for on-demand
max length 100timeoutstringGo duration such as 5m
max length 20versioninteger (int64)requiredVersion last read
≥ 0Responses
configobjectrequiredenabledbooleanrequiredmax_attemptsinteger (int64)requiredpriorityinteger (int64)requiredqueuestringrequiredschedulestringrequired5-field cron in UTC, @every duration, or empty for on-demand
timeoutstringrequiredGo duration
defaultsobjectrequiredenabledbooleanrequiredmax_attemptsinteger (int64)requiredpriorityinteger (int64)requiredqueuestringrequiredschedulestringrequired5-field cron in UTC, @every duration, or empty for on-demand
timeoutstringrequiredGo duration
descriptionstringrequiredinvalid_overridebooleanrequiredThe stored override fails validation, so the defaults apply
last_runobjectactor_idstringactor_kindstringattemptinteger (int64)requiredattempted_atstring (date-time)created_atstring (date-time)requirederrorsarray of objectfinalized_atstring (date-time)idinteger (int64)requiredkindstringrequiredmax_attemptsinteger (int64)requiredpriorityinteger (int64)requiredqueuestringrequiredrequest_idstringscheduled_atstring (date-time)requiredstatestringrequiredmodifiedbooleanrequirednamestringrequirednext_run_atstring (date-time)Approximate next scheduled run
updated_atstring (date-time)updated_bystringversioninteger (int64)requiredSend back when changing the definition
codestringrequiredStable machine-readable error code
detailstringHuman-readable explanation
errorsarray of objectField-level validation errors
request_idstringCorrelates with server logs and traces
statusinteger (int64)requiredHTTP status code
titlestringrequiredShort summary of the problem type
typestringURI identifying the problem type
codestringrequiredStable machine-readable error code
detailstringHuman-readable explanation
errorsarray of objectField-level validation errors
request_idstringCorrelates with server logs and traces
statusinteger (int64)requiredHTTP status code
titlestringrequiredShort summary of the problem type
typestringURI identifying the problem type
codestringrequiredStable machine-readable error code
detailstringHuman-readable explanation
errorsarray of objectField-level validation errors
request_idstringCorrelates with server logs and traces
statusinteger (int64)requiredHTTP status code
titlestringrequiredShort summary of the problem type
typestringURI identifying the problem type
codestringrequiredStable machine-readable error code
detailstringHuman-readable explanation
errorsarray of objectField-level validation errors
request_idstringCorrelates with server logs and traces
statusinteger (int64)requiredHTTP status code
titlestringrequiredShort summary of the problem type
typestringURI identifying the problem type
codestringrequiredStable machine-readable error code
detailstringHuman-readable explanation
errorsarray of objectField-level validation errors
request_idstringCorrelates with server logs and traces
statusinteger (int64)requiredHTTP status code
titlestringrequiredShort summary of the problem type
typestringURI identifying the problem type
codestringrequiredStable machine-readable error code
detailstringHuman-readable explanation
errorsarray of objectField-level validation errors
request_idstringCorrelates with server logs and traces
statusinteger (int64)requiredHTTP status code
titlestringrequiredShort summary of the problem type
typestringURI identifying the problem type