Update a job (collection PUT)
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.
bearerAuthAuthorizationBearer <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.
application/json- body
name*stringdescription?stringcronSchedule?stringStandard five-field cron expression (one-minute minimum interval). Six-field and invalid expressions are rejected with 400.
tests*array<>1 <= itemsalertConfig?id*stringJob to update
uuidjobType?stringOptional; must equal the stored job type
Job updated
application/json- response
success?booleanjob?curl -X PUT 'https://app.supercheck.io/api/jobs' \ -H 'Content-Type: application/json' \ -d '{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"}'{ "success": true, "job": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "cronSchedule": "string", "nextRunAt": "2019-08-24T14:15:22Z", "warning": "string" }}