> ## Documentation Index
> Fetch the complete documentation index at: https://docs.korve.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Deny Authorization Request

> Deny a pending authorization request and return only its previously bound loopback redirect and state.



## OpenAPI

````yaml /openapi.json post /v1/agent-auth/authorization-requests/{requestId}/deny
openapi: 3.1.0
info:
  title: Korve API
  version: 0.1.0
  description: >-
    Typed control plane for deploying applications and explicitly provisioning
    their managed infrastructure.
servers:
  - url: https://api.korve.dev
security: []
paths:
  /v1/agent-auth/authorization-requests/{requestId}/deny:
    post:
      tags:
        - agentAuth
      summary: Deny Authorization Request
      description: >-
        Deny a pending authorization request and return only its previously
        bound loopback redirect and state.
      operationId: agentAuth.denyAuthorizationRequest
      parameters:
        - name: requestId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        x-korve-max-bytes: 1048576
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
      responses:
        '200':
          description: Request denied; redirect the browser to the exact bound client URI.
          content:
            application/json:
              schema:
                type: object
                properties:
                  denied:
                    type: boolean
                    enum:
                      - true
                  redirectUri:
                    type: string
                    format: uri
                  state:
                    type: string
                required:
                  - denied
                  - redirectUri
                  - state
        '404':
          description: Unknown, expired, approved, denied, or consumed request.
      security:
        - session: []
components:
  securitySchemes:
    session:
      type: apiKey
      in: cookie
      name: korve.session_token

````