POST /projects/{project_id}/jobs/{job_id}/cancel
Cancel a job from the console (idempotent: a finished job returns its state)
Console session only (signed-in console).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
project_id | path | string · required | |
job_id | path | string · required |
Responses
| Status | Description | Body |
|---|---|---|
200 | job, cancelled, changed, final | JobCancelResponse |
404 | Not found | |
409 | Not cancellable |
Examples
curl
curl -X POST "$GALON_API_BASE/projects/<project_id>/jobs/<job_id>/cancel" \
-H "Authorization: Bearer $GALON_API_KEY"