---
title: "Cancel Bulk Sync Schema"
method: POST
path: "/api/bulk/syncs/{id}/schemas/{schema_id}/cancel"
tags: ["Bulk Sync"]
---

# Cancel Bulk Sync Schema

`POST /api/bulk/syncs/{id}/schemas/{schema_id}/cancel`

Requests cancellation of any running executions for a specific schema on a bulk sync.

Cancellation is asynchronous. A successful response means the cancellation
signal for this schema has been queued; the schema's in-flight work continues
until the signal is processed. Poll
`GET /api/bulk/syncs/{id}/schemas/{schema_id}` and the parent execution via
`GET /api/bulk/syncs/{id}/status` to confirm the schema has reached a terminal
state.

## Path parameters

- `id` string, uuid, required — The bulk sync ID.
- `schema_id` string, required — The schema ID to cancel for the bulk sync.

## Headers

- `X-Polytomic-Version` string

## Response `200`

OK

- CancelBulkSyncResponseEnvelope
  - `data` CancelBulkSyncResponse
    - `message` string

## Other responses

- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/polytomic/apis/polytomic-api.md) · [All operations](https://skmtc.dev/polytomic/apis/polytomic-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/polytomic/polytomic-api/revisions/6c3b7c51e463/schema)
