AppAIGatewayDocs
API referenceConsole O Auth consent

OAuth consent: deny

POST
/v1/console/oauth/{id}/deny

The API of the console's OAuth consent page, which an MCP client's authorization request sends a person to. First-party browser only: both the request URL origin and the exact Origin header must match the console origin, and submissionToken is the proof from the consent page URL's fragment, so it never travels in a URL. Allowing, continuing without an account and denying each answer the redirect to send the browser to, and answer it again, byte for byte, when repeated with the same proof. Anyone holding the link may decline, signed in or not.

Path Parameters

id*string

The authorization's id.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/console/oauth/string/deny" \  -H "Content-Type: application/json" \  -d '{    "submissionToken": "string"  }'
{  "redirect": "string"}