---
title: "Deny a tool-approval request"
method: POST
path: "/v1/permission-requests/{permission_request_id}/deny"
tags: ["permission-requests"]
---

# Deny a tool-approval request

`POST /v1/permission-requests/{permission_request_id}/deny`

## Request

- Base URL: `https://api.patricia.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.patricia.app/v1/permission-requests/{permission_request_id}/deny`
- Auth: HTTP bearer

Deny a pending request; its run resolves without running the tool (async). A verified requester can answer their pending task offer with choice=none without runs:execute.

## Path parameters

- `permission_request_id` string, uuid, required

## Headers

- `X-Tenant-Id` string, nullable

## Request body

- TaskOfferSelection: One answer to one frozen offer. The ``all`` choice excludes recipient-pinned lines. ``all`` and ``none`` carry no chosen keys; ``chosen`` carries at least one key and no key twice.
  - `offer_request_id` string, uuid, required
  - `choice` 'all' | 'chosen' | 'none', required
  - `chosen_line_keys` string[]
  - `offer_digest` string, required
  - `private_review_tokens` object, nullable

## Response `202`

Successful Response

- ApprovalDecisionResponse: Acknowledgement that an approval decision was accepted for async resume.
  - `status` string, required
  - `permission_request_id` string, uuid, required
  - `run_id` string, uuid, required
  - `approved` boolean, required

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)
- `404`: Not found
- `409`: Conflict: the request has already been resolved (error_type already_resolved).
- `422`: Validation error
- `503`: Service unavailable: the task queue could not accept the decision.

---

[API](https://skmtc.dev/patricia/apis/patricia-api.md) · [All operations](https://skmtc.dev/patricia/apis/patricia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/patricia/apis/patricia-api/revisions/0dfb44495ea1?raw)
