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

# Revoke Partner Connection

> Revoke an entire partner connection by presenting any of its tokens (access or refresh) with your client credentials. All tokens for the connection are revoked and unfinished launch sessions expire. Always returns revoked: true, including for unknown or already-revoked tokens. Accepts form-encoded or JSON bodies.



## OpenAPI

````yaml /developer-docs/api/openapi.json post /v1/partner/oauth/revoke
openapi: 3.1.0
info:
  title: Everbility Public API
  version: 1.0.0
  description: >-
    Pull reports from Everbility, upload notes and files, poll asynchronous
    jobs, and generate reports from saved templates. Partner endpoints let
    approved platforms connect practices with OAuth 2.0, launch report-writing
    sessions, receive signed lifecycle webhooks, and retrieve completed
    documents.
servers:
  - url: https://api.everbility.com
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/partner/oauth/revoke:
    post:
      tags:
        - partner
      summary: Revoke Partner Connection
      description: >-
        Revoke an entire partner connection by presenting any of its tokens
        (access or refresh) with your client credentials. All tokens for the
        connection are revoked and unfinished launch sessions expire. Always
        returns revoked: true, including for unknown or already-revoked tokens.
        Accepts form-encoded or JSON bodies.
      operationId: revoke_partner_token_v1_partner_oauth_revoke_post
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PartnerRevokeRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/PartnerRevokeRequest'
      responses:
        '200':
          description: Revocation acknowledged.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerRevokeResponse'
        '401':
          description: Invalid client credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerErrorResponse'
              example:
                detail: Invalid OAuth client
      security: []
components:
  schemas:
    PartnerRevokeRequest:
      type: object
      title: PartnerRevokeRequest
      properties:
        client_id:
          type: string
          title: Client Id
        client_secret:
          type: string
          title: Client Secret
        token:
          type: string
          title: Token
          description: Any access or refresh token from the connection to revoke.
      required:
        - client_id
        - client_secret
        - token
    PartnerRevokeResponse:
      type: object
      title: PartnerRevokeResponse
      properties:
        revoked:
          type: boolean
          title: Revoked
      required:
        - revoked
      example:
        revoked: true
    PartnerErrorResponse:
      type: object
      title: PartnerErrorResponse
      properties:
        detail:
          type: string
          title: Detail
          description: Human-readable error code or message.
      required:
        - detail
      example:
        detail: Invalid authorization code
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Use a Clerk-backed Everbility user or organisation API key directly as
        the bearer token.

````