Skip to main content
POST
Requires version 1.1.0 or later of the Archetype platform.

Overview

This endpoint cancels a job whose status is currently PENDING, RUNNING, or PREEMPTED. Cancelled jobs cannot be resumed. To pause a job temporarily, use the Pause Job endpoint instead.

Request

string
required
The unique job identifier

Response

string
The ID of the cancelled job
string
Updated job status (CANCELLED)
string
Timestamp when the job was cancelled
Only jobs in PENDING or RUNNING status can be cancelled. Attempting to cancel a job that has already completed, failed, or been cancelled will return a 409 Conflict error.