---
title: "Deny a pending OAuth consent"
method: POST
path: "/v1/connected-apps/pending-consents/{id}/deny"
tags: ["Connected Apps"]
---

# Deny a pending OAuth consent

`POST /v1/connected-apps/pending-consents/{id}/deny`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/connected-apps/pending-consents/{id}/deny`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Response `200`

Consent denied

- OkResponse
  - `ok` true, required

## Other responses

- `400`: Invalid request

---

[API](https://skmtc.dev/modelpiper/apis/toolpiper-api.md) · [All operations](https://skmtc.dev/modelpiper/apis/toolpiper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modelpiper/apis/toolpiper-api/revisions/6722bf56385c?raw)
