API Reference crons

Update a cron job

PATCH/projects/{project_id}/cron-jobs/{job_id}

Update schedule, params, or the enabled flag.

Request

curl -X PATCH "$ALLYBUILD_API_URL/projects/$PROJECT_ID/cron-jobs/$JOB_ID" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json"
  -d '{"enabled": false}'