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

# Revoke review API token

> Revoke a review API token by token ID.



## OpenAPI

````yaml DELETE /v1/auth/tokens/{id}
openapi: 3.1.0
info:
  title: Propel API
  description: >-
    API for managing review API tokens and running asynchronous diff-based code
    reviews.
  version: 1.0.0
servers:
  - url: https://api.propelcode.ai
    description: Production
  - url: http://localhost:6060
    description: Local
security: []
paths:
  /v1/auth/tokens/{id}:
    delete:
      summary: Revoke review API token
      description: Revokes a token by token ID.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
            minimum: 1
          description: Token ID.
      responses:
        '200':
          description: Token revoked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmptyObject'
        '400':
          description: Invalid token ID.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Token not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - jwtAuth: []
components:
  schemas:
    EmptyObject:
      type: object
      additionalProperties: false
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        message:
          type: string
      additionalProperties: true
  securitySchemes:
    jwtAuth:
      type: http
      scheme: bearer
      description: Dashboard authentication token.

````