---
title: "Update a job"
method: PATCH
path: "/api/jobs/{id}"
tags: ["Jobs"]
---

# Update a job

`PATCH /api/jobs/{id}`

Update job configuration. Only provided fields are changed.

## Request body

- JobUpdateRequest
  - `name` string
  - `description` string
  - `cronSchedule` string
  - `tests` JobTestRef[]
    - `id` string, uuid, required
  - `alertConfig` JobAlertConfig
    - `enabled` boolean
    - `notificationProviders` string[]
    - `alertOnFailure` boolean
    - `alertOnSuccess` boolean
    - `alertOnTimeout` boolean
    - `failureThreshold` integer
    - `recoveryThreshold` integer
    - `customMessage` string

## Response `200`

Job updated

- JobUpdateResponse
  - `id` string, uuid
  - `name` string
  - `description` string, nullable
  - `cronSchedule` string, nullable
  - `nextRunAt` string, date-time, nullable
  - `scheduledJobId` string, nullable
  - `testCount` integer

## Other responses

- `400` — Invalid job update payload
- `401` — Authentication required or token invalid
- `403` — Insufficient permissions
- `404` — Resource not found

## Changes

- **2026-03-21** `40aeed2ccba7` — 1 breaking, 11 warning, 6 info
  - the response property `description` became nullable for the status `200`
  - removed the request property `retryCount`
  - removed the request property `status`
  - removed the request property `timeoutSeconds`
  - …14 more
- **2026-02-08** `78bbac89339b` — 4 warning, 13 info
  - removed the request property `alertConfig`
  - removed the request property `tests`
  - removed the optional property `scheduledJobId` from the response with the `200` status
  - removed the optional property `testCount` from the response with the `200` status
  - …13 more

[Change history](https://skmtc.dev/supercheck-io/apis/supercheck-api/changes/api/jobs/:id/patch.md)

---

[API](https://skmtc.dev/supercheck-io/apis/supercheck-api.md) · [All operations](https://skmtc.dev/supercheck-io/apis/supercheck-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/supercheck-io/supercheck-api/revisions/81782deccf0e/schema)
