Cancel a scheduled job
POST /Platform/jobs/cancel
Cancel a scheduled job.
Marks the job done, so no further occurrence runs; this cannot be undone (schedule a new job instead). To stop it temporarily, pause it with the set-active route.
Body parameters
job_id: str. The ScheduledJob id to cancel.
Returns
JobCancellation
status: "cancelled" or "not_found". Whether a job was cancelled or was absent.
Example request
curl -X POST "https://api.hilus.ai/Platform/jobs/cancel" \
-H "Authorization: Bearer $HILUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'