---
title: "Cancel a running dbt sync"
method: DELETE
path: "/api/v1/deployments/{deploymentId}/dbt-sync/{syncJobId}"
tags: ["dbt Sync"]
---

# Cancel a running dbt sync

`DELETE /api/v1/deployments/{deploymentId}/dbt-sync/{syncJobId}`

## Path parameters

- `deploymentId` integer, required
- `syncJobId` string, required

## Response `200`

- DbtSyncCancelResponse
  - `message` string, required

---

[API](https://skmtc.net/cube-js/apis/cube-cloud-rest-api.md) · [All operations](https://skmtc.net/cube-js/apis/cube-cloud-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cube-js/cube-cloud-rest-api/revisions/29d481391a25/schema)
