---
title: "Cancel a running execution. No-op on terminal-state executions."
method: DELETE
path: "/workspaces/{workspace_domain}/targets/execs/{exec_id}"
tags: ["Target API"]
---

# Cancel a running execution. No-op on terminal-state executions.

`DELETE /workspaces/{workspace_domain}/targets/execs/{exec_id}`

## Path parameters

- `workspace_domain` string, required
- `exec_id` string, required

## Response `204`

Execution cancellation signaled (or already in terminal state)

## Other responses

- `404` — Execution not found

---

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