Cancel a job

Cancels (dismisses) a job that is accepted or running.

Required role: ORG_EDITOR. The organization path parameter must be the organization of the access token.

Only the user who executed the process can cancel its job, and only when the process allows it (dismiss in its jobControlOptions). A job that is already successful, failed or dismissed can't be cancelled. These cases return 400.

Response

200 with the job in job (not wrapped in result), with the status dismissed. The process is told to stop; it can take a few seconds to stop.

Job

FieldContent
jobId, processIdId of the job, and of its process
ownedByEmail of the user who executed the process
statusaccepted (waiting), running, successful, failed or dismissed (cancelled)
message, progressThe last message of the job, and its progress (0 to 100), when the process reports them
created, started, finished, updatedDates of the job
inputsThe inputs it was executed with
linksstatus (the job), and http://www.opengis.net/def/rel/ogc/1.0/results (its result) once the process provides one

Jobs are deleted 10 days after they are created.

These endpoints follow the OGC API - Processes standard: a process is a task that the platform can run (analyze an uploaded file, build a search index, seed a vector tile cache, export data, ...), and a job is one execution of a process. Jobs run asynchronously: follow them with GET .../jobs/{job}.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Id of your organization (must match the access token)

uuid
required

Id of the job

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json