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

# Revoke business auth token

> Revokes one business-scoped access token, even if the business is read-only. Call this endpoint from your backend with a writable platform access token, not a business-scoped token. After a successful response, subsequent requests using the revoked token fail with 401. Other tokens for the business remain valid. You can safely retry the request: an expired, already revoked, or unrecognized token also returns 204.



## OpenAPI

````yaml post /v1/businesses/{businessId}/auth-token/revoke
openapi: 3.0.1
info:
  title: API
  version: latest
servers: []
security:
  - BearerAuth: []
tags: []
externalDocs:
  url: /
paths:
  /v1/businesses/{businessId}/auth-token/revoke:
    post:
      summary: Revoke business auth token
      description: >-
        Revokes one business-scoped access token, even if the business is
        read-only. Call this endpoint from your backend with a writable platform
        access token, not a business-scoped token. After a successful response,
        subsequent requests using the revoked token fail with 401. Other tokens
        for the business remain valid. You can safely retry the request: an
        expired, already revoked, or unrecognized token also returns 204.
      operationId: business.auth-token.revoke
      parameters:
        - name: businessId
          in: path
          description: The UUID of the business the token was issued for.
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - access_token
              properties:
                access_token:
                  type: string
                  minLength: 1
                  description: The business-scoped access token to revoke.
      responses:
        '204':
          description: The token is not active for this business. The response has no body.
        '400':
          description: The request body is invalid or access_token is missing or blank.
        '401':
          description: A valid platform access token is required.
        '403':
          description: The platform credential is read-only.
        '404':
          description: The business does not exist or is not accessible to the caller.
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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