---
title: "Decline an MCP app's sign-in request"
method: POST
path: "/api/v1/oauth/requests/{requestId}/deny"
tags: ["MCP apps"]
---

# Decline an MCP app's sign-in request

`POST /api/v1/oauth/requests/{requestId}/deny`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/oauth/requests/{requestId}/deny`
- Auth: HTTP bearer

Ends the request and returns the URL that tells the app access was denied.

## Path parameters

- `requestId` string, uuid, required

## Response `200`

Declined; follow redirectUrl

## Other responses

- `404`: Expired, already answered, or never existed

---

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