---
title: "Cancel a job"
method: DELETE
path: "/v3/sql/{connectionName}/job/{jobId}"
tags: ["SQL"]
---

# Cancel a job

`DELETE /v3/sql/{connectionName}/job/{jobId}`

Cancels a running job. Returns no content on success.

## Path parameters

- `connectionName` string, required
- `jobId` string, required

## Response `204`

The job was cancelled.

## Other responses

- `401` — The token is missing, malformed or expired.
- `403` — The token doesn't grant access to this resource.
- `404` — The resource doesn't exist.
- `429` — You went over the [rate limit](#rate-limits) for this API.

---

[API](https://skmtc.net/gitbookio/apis/carto-api.md) · [All operations](https://skmtc.net/gitbookio/apis/carto-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitbookio/carto-api/revisions/019f79ecdd6c/schema)
