---
title: "✨ Cancel state backfill jobs"
method: DELETE
path: "/api/fsm/backfill/"
tags: ["States"]
---

# ✨ Cancel state backfill jobs

`DELETE /api/fsm/backfill/`

<Card href="https://humansignal.com/goenterprise">
        <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
        <p style="margin-top: 10px; font-size: 14px;">
            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
        </p>
    </Card>
Cancel state backfill jobs for the authenticated user's active organization. Can cancel a specific job by job_id, all jobs for a specific project by project_id, or all backfill jobs for the entire organization if neither is provided.

## Query parameters

- `job_id` integer
- `project_id` integer

## Response `200`

- StateBackfillCancelResponse
  - `cancelled_count` integer, required — Number of jobs successfully cancelled
  - `message` string, required — Cancellation status message

## Other responses

- `400`
- `403` — Permission denied
- `404` — Organization not found

---

[API](https://skmtc.net/humansignal/apis/label-studio-api.md) · [All operations](https://skmtc.net/humansignal/apis/label-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/humansignal/label-studio-api/revisions/8ab207b03dd5/schema)
