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

# Update a job configuration

`PUT /api/jobs/{id}`

## Request

- Base URL: `https://demo.supercheck.dev`
- URL: `https://demo.supercheck.dev/api/jobs/{id}`
- Auth: HTTP bearer

Update job configuration. Only provided fields are changed. PUT is retained for CLI deploy and backward compatibility; interactive partial updates should prefer PATCH. Resource IDs must be canonical UUIDs; malformed IDs return 404.

## Request body

- JobUpdateRequest
  - `name` string
  - `description` string
  - `cronSchedule` string: Standard five-field cron expression (one-minute minimum interval). Six-field and invalid expressions are rejected with 400.
  - `tests` JobTestRef[]
    - `id` string, uuid, required
  - `alertConfig` JobAlertConfig
    - `enabled` boolean
    - `notificationProviders` string[]
    - `alertOnFailure` boolean
    - `alertOnSuccess` boolean
    - `alertOnTimeout` boolean
    - `failureThreshold` integer
    - `recoveryThreshold` integer
    - `customMessage` string
    - `incidentEnabled` boolean: Open an incident when this alerts.
    - `incidentSeverity` 'sev1' | 'sev2' | 'sev3' | 'sev4': Severity of the opened incident. Omit to derive it from the alert.
    - `autoResolveIncident` boolean: Resolve the incident automatically when the source recovers.

## 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-10-28** `dc52000a1874`: 2 warning
  - the `alertConfig/failureThreshold` request property's max was set to `100.00`
  - the `alertConfig/recoveryThreshold` request property's max was set to `100.00`
- **2026-10-28** `8e88356fa079`: 3 info
  - added the new optional request property `alertConfig/autoResolveIncident`
  - added the new optional request property `alertConfig/incidentEnabled`
  - added the new optional request property `alertConfig/incidentSeverity`
- **2026-10-01** `0114b54c259d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/supercheck-io/apis/supercheck-api/changes/api/jobs/:id/put.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.dev/supercheck-io/apis/supercheck-api/revisions/7fa0162c07bd?raw)
