Supercheck LogoSupercheck
Jobs API

Update a job (collection PUT)

PUT
/api/jobs

Compatibility update that requires id in the JSON body. Prefer PATCH /api/jobs/{id} or PUT /api/jobs/{id} for new integrations. The job must belong to the current project. name and a non-empty tests list are required and replace the stored ones. Omit cronSchedule or description to keep the stored value; send "" to clear it. jobType cannot change. The caller needs job:update.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Project-scoped CLI token (sck_live_* or sck_test_*) for documented API operations that accept bearer authentication. Interactive browser operations may require a session cookie. Trigger keys (sck_trigger_* / legacy job_*) are accepted only by job trigger endpoints.

Request Body

application/json
  1. body
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*array<>
Items1 <= items
alertConfig?
id*string

Job to update

Formatuuid
jobType?string

Optional; must equal the stored job type

Response Body

Job updated

application/json
  1. response
success?boolean
job?
Example Request
curl -X PUT 'https://app.supercheck.io/api/jobs' \  -H 'Content-Type: application/json' \  -d '{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"}'
Example Response
{  "success": true,  "job": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "description": "string",    "cronSchedule": "string",    "nextRunAt": "2019-08-24T14:15:22Z",    "warning": "string"  }}