---
title: "Patch Job Settings"
method: PATCH
path: "/api/admin/jobs/{job_id}/settings"
tags: ["admin-scheduler"]
---

# Patch Job Settings

`PATCH /api/admin/jobs/{job_id}/settings`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/admin/jobs/{job_id}/settings`
- Auth: none declared

Apply a partial override to one job's or sweep's schedule (TOS-5088 R7).

Only fields present in the request body are touched (see
``JobSettingsPatch``); every one of those is validated against
``assert_field_is_overridable`` before anything is written, so a request
that patches an un-overridable field for this job id fails as a whole,
never partially.

## Path parameters

- `job_id` string, required

## Request body

- JobSettingsPatch: A partial update to one job's or sweep's override row (TOS-5088 R7). Every field defaults to unset, distinguished from an explicit ``null`` via ``model_fields_set`` - the PATCH handler only touches columns present in the request body at all, so omitting a field leaves its current value (or default) untouched, while sending it as ``null`` clears any existing override on that column back to "use the registry default".
  - `enabled` boolean, nullable
  - `cron_expr` string, nullable
  - `timezone` string, nullable
  - `timeout_seconds` integer, nullable
  - `note` string, nullable

## Response `200`

Successful Response

- JobSettingsResponse: The override row for one job or sweep, as stored - not merged with the registry default. NULL means "no override on this column".
  - `job_id` string, required
  - `enabled` boolean, nullable, required
  - `cron_expr` string, nullable, required
  - `timezone` string, nullable, required
  - `timeout_seconds` integer, nullable, required
  - `note` string, nullable, required
  - `updated_by` string, nullable, required
  - `updated_at` string, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thinqos/apis/thinqos-api.md) · [All operations](https://skmtc.dev/thinqos/apis/thinqos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thinqos/apis/thinqos-api/revisions/ce2c2ce318b1?raw)
