---
title: "Decline a request"
method: POST
path: "/requests/{id}/decline"
tags: ["Requests"]
---

# Decline a request

`POST /requests/{id}/decline`

Decline a pending request on behalf of the user who created the API token. The API automatically finds the next pending approval and declines it with the provided reason.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `decline_reason` string, required

## Response `200`

Successful response

- object
  - `success` boolean, required
  - `message` string, required

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `500` — Internal server error

---

[API](https://skmtc.net/absentify/apis/absentify-crud-api.md) · [All operations](https://skmtc.net/absentify/apis/absentify-crud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/absentify/absentify-crud-api/revisions/ef777d51e6f2/schema)
