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

# RFC 7009 token revocation endpoint.



## OpenAPI

````yaml /openapi.json post /oauth/revoke
openapi: 3.0.0
info:
  title: Braid
  version: '1.0'
servers:
  - url: http://localhost:8001/api
security: []
tags:
  - name: Admin
  - name: ApiKey
  - name: Auth
  - name: Calendar
  - name: Capture
  - name: Concerns
  - name: Dashboard
  - name: DataRequests
  - name: Device
  - name: Feedback
  - name: Graph
  - name: Health
  - name: Job
  - name: OAuth
  - name: Organisation
  - name: Realtime
  - name: Search
  - name: Session
  - name: Workshop
  - name: Workspace
paths:
  /oauth/revoke:
    post:
      tags:
        - OAuth
      summary: RFC 7009 token revocation endpoint.
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/RevokeRequest'
        required: true
      responses:
        '200':
          description: ''
          content:
            application/json; charset=utf-8:
              schema: {}
        '201':
          description: ''
          content:
            application/json; charset=utf-8:
              schema: {}
        '202':
          description: ''
        '204':
          description: ''
        '400':
          description: ''
          content:
            application/json; charset=utf-8:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: ''
          content:
            application/json; charset=utf-8:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: ''
          content:
            application/json; charset=utf-8:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: ''
          content:
            application/json; charset=utf-8:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: ''
          content:
            application/json; charset=utf-8:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '410':
          description: ''
          content:
            application/json; charset=utf-8:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '413':
          description: ''
          content:
            application/json; charset=utf-8:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '415':
          description: ''
          content:
            application/json; charset=utf-8:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: ''
          content:
            application/json; charset=utf-8:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: ''
          content:
            application/json; charset=utf-8:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: ''
          content:
            application/json; charset=utf-8:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '502':
          description: ''
          content:
            application/json; charset=utf-8:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: ''
          content:
            application/json; charset=utf-8:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    RevokeRequest:
      type: object
      title: RevokeRequest
      required:
        - token
        - client_id
      properties:
        token:
          type: string
          description: >-
            Refresh token to revoke (`rt_…`). Bearer access tokens are ignored
            (no-op).
        client_id:
          type: string
          description: Client ID for authentication.
        client_secret:
          type: string
          description: Required when the client is confidential (registered with a secret).
        token_type_hint:
          type: string
          description: 'Optional hint: "access_token" or "refresh_token".'
    ErrorResponse:
      type: object
      title: ErrorResponse
      required:
        - success
        - message
      properties:
        success:
          type: boolean
        message:
          type: string

````

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