Cancel an RQL job

Response

The response will be a RQL Job resource, example:

{
  "err" 0,
  "result": {
    "id": 123,  // job id
    "project_id": 456,
    "query_string": "show tables",
    "status": "cancelled", // One of "new", "running", "success", "failed", "cancelled", or "timed_out"
    "job_hash": "abcdefabcdefabcdef",
    "date_created": 1446598885,
    "date_modified": 1446598885
  }
}```

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

system-wide ID of the job to be canceled

Body Params
integer

With an Account Access Token, the project the job was run against. Without it, the job is looked up in the account. A Project Access Token ignores it and uses its own project.

Headers
string
required

Use a Project or Account Access Token with 'read' scope. An Account Access Token names the project with project_id on an endpoint that acts on one project, and a personal access token can do only what its user is permitted to.

Responses

project_ids that the token can't read are left out of the query, and the request is refused only when none are left. Also returned when the account's plan doesn't include the Metrics API.

name already exists in the account.

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