---
title: "Delete Approval"
method: DELETE
path: "/workspaces/{workspace_id}/approvals/{session_id}"
tags: ["approvals"]
---

# Delete Approval

`DELETE /workspaces/{workspace_id}/approvals/{session_id}`

## Request

- Base URL: `https://platform.tracecat.com/api`
- URL: `https://platform.tracecat.com/api/workspaces/{workspace_id}/approvals/{session_id}`
- Auth: API key in cookie `fastapiusersauth`

Dismiss all pending approvals for a session.

If the Temporal workflow is alive, deny the approvals so it fails at the
agent step. If the workflow is already gone, delete the approval records
directly. The session itself is left intact in both cases.

## Path parameters

- `session_id` string, uuid, required
- `workspace_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tracecat/apis/tracecat-api.md) - [All operations](https://skmtc.dev/tracecat/apis/tracecat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tracecat/apis/tracecat-api/revisions/2efdda25045f?raw)
