Supercheck LogoSupercheck
Jobs API

Update a job configuration

Update job configuration. Only provided fields are changed. PUT is retained for CLI deploy and backward compatibility; interactive partial updates should prefer PATCH.

PUT
/api/jobs/{id}

Authorization

bearerAuth
AuthorizationBearer <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.

In: header

Path Parameters

id*string

Job ID

Formatuuid

Request Body

application/json

name?string
description?string
cronSchedule?string
tests?array<>
Items1 <= items
alertConfig?

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://demo.supercheck.dev/api/jobs/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "name": "string",
  "description": "string",
  "cronSchedule": "string",
  "nextRunAt": "2019-08-24T14:15:22Z",
  "scheduledJobId": "string",
  "testCount": 0
}
Empty
{
  "error": "Unauthorized"
}
{
  "error": "string"
}
{
  "error": "Not found"
}