Geovisualization Developer's Guide

Cancel Job

The cancel job response body is a JSON object returned by the Geovisualization REST API in response to a request to cancel a job. Note that SFTP import jobs cannot be canceled.

Table 1. Cancel Job Response Elements
Element Data Type Description
status String Status of the job.

Possible values include:

  • canceling
  • canceled
  • failed
job_id String The unique job ID
kind String Type of response: the value is datalens#canceling_job

The code example below illustrates a typical response to a successful cancel job request.

{
  "status": "canceling",
  "job_id": "b791ae0a-1afe-44a8-949e-5b0e8318122e",
  "kind": "datalens#canceling_job"
}