Cancel Job
Deletes the job's pod and marks the job CANCELLED. The current state is not checked, so an already-finished job is re-marked CANCELLED too.
Access: operator or admin role in the namespace (via Xeonr team role or a namespace API key), or a platform admin.
Authorization
BearerAuth A namespace-scoped API key (cpk_…) for machines, or a Xeonr Auth OIDC
token for humans. The key's namespace and role are pinned server-side.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
1 <= length <= 64Response Body
application/json
application/json
curl -X POST "https://containers.xeonr.io/containers.api.v1.JobService/CancelJob" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{}Jobs
Run-to-completion workloads with argv, stdin, input files, collected outputs and streamed logs.
Create Job POST
Starts a batch job and returns once it is admitted, with its id; the job runs to completion in the background exactly as one started with RunJob (same validation, admission, pool routing and idempotency). A repeated `idempotency_key` within the namespace returns the original job's id with `existing` set. Jobs with `execution_sandbox_id` (guarded setup writers) are refused with InvalidArgument: start those with RunJob. Follow the job with GetJob and GetJobLogs or TailLogs. **Access:** operator or admin role in the namespace (via Xeonr team role or a namespace API key), or a platform admin. **Required scopes:** `container-platform:namespaces:edit`