---
title: "Cancel Data Export"
method: DELETE
path: "/api/data-exports/{data_export_id}"
tags: ["Data Exports"]
---

# Cancel Data Export

`DELETE /api/data-exports/{data_export_id}`

Cancel a running data export. Only exports with status `pending` or `in_progress` can be cancelled.

## Response `200`

Success

- object
  - `data` object
    - `id` string
    - `status` string
    - `message` string
  - `_meta` object
    - `_credits` object
      - `used` integer
      - `balance` integer
      - `note` string
    - `_cache` object
      - `is_cached` boolean
      - `note` string
    - `_rate_limits` object
      - `limit_minute` integer
      - `limit_day` string, nullable
      - `remaining_minute` integer
      - `remaining_day` string, nullable
      - `notice` string

---

[API](https://skmtc.net/onlyfansapi/apis/onlyfans-api.md) · [All operations](https://skmtc.net/onlyfansapi/apis/onlyfans-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onlyfansapi/onlyfans-api/revisions/4a99d36f28a3/schema)
