---
title: "Cancel an export job"
method: POST
path: "/v3/exports/{jobId}/cancel"
tags: ["Exports"]
---

# Cancel an export job

`POST /v3/exports/{jobId}/cancel`

Cancels an export job that is still `pending` or `running`.

A `200` doesn't guarantee the job was cancelled — if it finished while the
request was in flight, the response carries its actual final status. Always
read `status` rather than relying on the status code.

## Path parameters

- `jobId` string, uuid, required

## Response `200`

The job's status after the attempt — `cancelled`, or the state it
reached first.

- object
  - `jobId` string, uuid
  - `status` 'pending' | 'running' | 'success' | 'failure' | 'cancelled' — `success`, `failure` and `cancelled` are final states.

## Other responses

- `400` — The job already finished and can't be cancelled.
- `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.

## Changes

- **2026-08-12** `1cd19ef6d815` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/gitbookio/apis/carto-api/changes/v3/exports/:jobId/cancel/post.md)

---

[API](https://skmtc.dev/gitbookio/apis/carto-api.md) · [All operations](https://skmtc.dev/gitbookio/apis/carto-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gitbookio/apis/carto-api/revisions/52a48d123c3d?raw)
