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

# Deny OAuth2 authorization

> Deny OAuth2 authorization



## OpenAPI

````yaml delete /oauth/authorize
openapi: 3.1.0
info:
  title: Capital Check In API
  description: >-
    API for the Capital Check In platform - Employee check-in management system
    with identity verification, geolocation, and schedule management
  license:
    name: MIT
  version: 1.0.0
  contact:
    name: Capital Check In Support
    email: hi@capitalcheckin.app
    url: https://capitalcheckin.app
servers:
  - url: https://api.capitalcheckin.app
    description: Production
security:
  - bearerAuth: []
paths:
  /oauth/authorize:
    delete:
      tags:
        - OAuth2
      summary: Deny OAuth2 authorization
      description: Deny OAuth2 authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OAuthApprovalRequest'
      responses:
        '200':
          description: Authorization denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OAuthApprovalResponse'
components:
  schemas:
    OAuthApprovalRequest:
      type: object
      required:
        - state_id
        - jwt
      properties:
        state_id:
          type: string
          description: Authorization state ID
        jwt:
          type: string
          description: User JWT token
    OAuthApprovalResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Indicates if the operation was successful
        redirect_url:
          type: string
          format: uri
          description: Redirect URL with code or error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: OAuth2
      description: OAuth2 access token for authentication

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.