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

# Revoke an OAuth token

> Revokes a token for the authenticated OAuth client. A successful response has an empty body.

Authenticate the OAuth client using its registered method: none, client\_secret\_basic or client\_secret\_post. Client credentials are distinct from a user's API key.

Revokes a token for the authenticated OAuth client. A successful response has an empty body.

[Request conventions](/api-reference/overview) · [API keys](/api-keys) · [MCP connections](/mcp-connections)


## OpenAPI

````yaml api-reference/openapi.json POST /oauth/revoke
openapi: 3.1.0
info:
  title: Posted HTTP API
  version: 0.2.0
  description: >-
    All registered application, account, OAuth, MCP transport and health
    endpoints. Publishing and draft request schemas come from the shared runtime
    validators. Replace the example server with your installation. Documentation
    uses simple request examples and does not execute live publishing requests.
servers:
  - url: https://posted-api.example.com
security: []
paths:
  /oauth/revoke:
    post:
      tags:
        - OAuth and MCP transport
      summary: Revoke an OAuth token
      description: >-
        Revokes a token for the authenticated OAuth client. A successful
        response has an empty body.


        Authenticate the OAuth client using its registered method: none,
        client_secret_basic or client_secret_post. Client credentials are
        distinct from a user's API key.
      operationId: post_oauth_revoke
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                client_id:
                  type: string
                client_secret:
                  type: string
                token:
                  type: string
                token_type_hint:
                  type: string
              required:
                - token
      responses:
        '200':
          description: >-
            Successful response. Examples are illustrative; field values vary by
            record.
        default:
          description: >-
            OAuth failure with error and error_description. Consent/session
            authority may also return the standard Posted error envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  error_description:
                    type: string
      security:
        - oauthClientBasic: []
        - {}
components:
  securitySchemes:
    oauthClientBasic:
      type: http
      scheme: basic
      description: >-
        Registered OAuth client authentication, when client_secret_basic is
        selected

````

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