---
title: "Deny a pending request"
method: POST
path: "/v1/requests/{request_id}/deny"
tags: ["requests"]
---

# Deny a pending request

`POST /v1/requests/{request_id}/deny`

## Request

- Base URL: `https://api.spendnod.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.spendnod.com/v1/requests/{request_id}/deny`
- Auth: none declared

## Path parameters

- `request_id` string, uuid, required

## Request body

- DenyRequest
  - `reason` string, nullable

## Response `200`

Successful Response

- AuthorizeResponse
  - `id` string, uuid, required
  - `agent_id` string, uuid, nullable
  - `agent_name` string, nullable
  - `action` string, nullable
  - `amount` string, nullable
  - `currency` string, nullable
  - `vendor` string, nullable
  - `category` string, nullable
  - `description` string, nullable
  - `status` 'auto_approved' | 'pending' | 'approved' | 'denied' | 'expired' | 'cancelled', required
  - `approval_token` string, nullable
  - `resolved_by` string, nullable
  - `rule_evaluation` object, nullable
  - `expires_at` string, date-time, nullable
  - `created_at` string, date-time, required
  - `plan_warning` string, nullable

## Other responses

- `422`: Validation Error

---

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