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

# Revoke an OAuth2 client (cascade grants + tokens)

> Revokes the client and cascade-revokes every grant and access/refresh token issued under it. Returns 204. 404 if the client is not owned by the caller's partner.



## OpenAPI

````yaml /openapi.json delete /api/public/v1/me/partner/oauth2-clients/{client_id}
openapi: 3.0.3
info:
  title: Flexslot API
  version: 1.0.0
  description: API documentation for Flexslot decks application
servers:
  - url: https://api.flexslot.gg
    description: Production
  - url: https://api-dev.flexslot.gg
    description: Development
security: []
paths:
  /api/public/v1/me/partner/oauth2-clients/{client_id}:
    delete:
      tags:
        - Me
      summary: Revoke an OAuth2 client (cascade grants + tokens)
      description: >-
        Revokes the client and cascade-revokes every grant and access/refresh
        token issued under it. Returns 204. 404 if the client is not owned by
        the caller's partner.
      operationId: me_partner_oauth2_clients_revoke
      parameters:
        - in: path
          name: client_id
          schema:
            type: string
          required: true
      responses:
        '204':
          description: No response body
      security:
        - PersonalAccessToken: []
        - OAuth2Bearer: []
components:
  securitySchemes:
    PersonalAccessToken:
      type: http
      scheme: bearer
      bearerFormat: flx_pat_...
      description: 'User-issued personal access token (format: flx_pat_<token>).'
    OAuth2Bearer:
      type: http
      scheme: bearer
      bearerFormat: flx_at_...
      description: >-
        OAuth2 access token issued via the authorization-code + PKCE flow
        (format: flx_at_<token>). Grants the partner user-scoped access to act
        on behalf of the consenting end-user.

````