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

# Revoke Self

> Revoke the authentication token used for the current request.

<RequestExample>
  ```bash cURL theme={null}
  curl --request DELETE \
    --url http://localhost:8080/auth/v1/self/revoke \
    --header 'Authorization: Bearer <token>'
  ```
</RequestExample>

<ResponseExample>
  ```json Common (200) theme={null}
  {
    "nextUri": ""
  }
  ```

  ```json OIDC (200) theme={null}
  {
    "nextUri": "https://idp.example.com/logout?..."
  }
  ```
</ResponseExample>


## OpenAPI

````yaml https://raw.githubusercontent.com/flipt-io/flipt/refs/heads/v2/rpc/flipt/openapi.yaml DELETE /auth/v1/self/revoke
openapi: 3.0.3
info:
  title: Common API
  version: 0.0.1
servers:
  - url: http://localhost:8080
security:
  - bearerAuth: []
tags:
  - name: AuthenticationMethodKubernetesService
  - name: AuthenticationMethodOIDCService
  - name: AuthenticationService
  - name: EvaluationService
  - name: Flipt
  - name: OFREPService
paths:
  /auth/v1/self/revoke:
    delete:
      tags:
        - AuthenticationService
      operationId: revokeAuthSelf
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevokeAuthenticationSelfResponse'
components:
  schemas:
    RevokeAuthenticationSelfResponse:
      type: object
      properties:
        nextUri:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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