---
title: "Deny a request"
method: POST
path: "/approval/{id}/deny"
tags: ["Approval"]
---

# Deny a request

`POST /approval/{id}/deny`

Denies a request by ID. 

:::note
This endpoint is executed according to the URL you received in the approval notification.
:::

## Path parameters

- `id` integer, required

## Query parameters

- `token` string, required

## Request body

- ApprovalReplyDeny
  - `reviewer` object, required — The person or system that denied the request.
    - `name` string, required — The name of the approver.
    - `email` string, required — The email of the approver.
    - `nullplatform_user_id` integer — The nullplatform ID of the approver (optional).
  - `message` string — An optional message explaining the approver's decision.
  - `details` object — Additional structured metadata related to the approver's decision.

## Response `200`

The operation was successful.

- object
  - `success` boolean, required — Indicates whether the operation was successful.

## Other responses

- `4XX` — Client error responses due to invalid input or missing parameters.
- `5XX` — Server error responses indicating an issue on the API side.

---

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