FusionAuth · Capability

FusionAuth API — Logout

FusionAuth API — Logout. 1 operations. Lead operation: The Logout API is intended to be used to remove the refresh token and access token cookies if they exist on the client and revoke the refres. Self-contained Naftiko capability covering one business surface.

FusionAuth API — Logout is a Naftiko capability published by FusionAuth, one of 33 capabilities the APIs.io network indexes for this provider. It bundles 1 operation across the POST method rooted at /v1/api/logout.

The capability includes 1 state-changing operation. Lead operation: The Logout API is intended to be used to remove the refresh token and access token cookies if they exist on the client and revoke the refres. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include FusionAuth and Logout.

Run with Naftiko FusionAuthLogout

What You Can Do

POST
Createlogout — The Logout API is intended to be used to remove the refresh token and access token cookies if they exist on the client and revoke the refres
/v1/api/logout

MCP Tools

fusionauth-createlogout

The Logout API is intended to be used to remove the refresh token and access token cookies if they exist on the client and revoke the refres

Capability Spec

fusionauth-logout.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: FusionAuth API — Logout
  description: 'FusionAuth API — Logout. 1 operations. Lead operation: The Logout API is intended to be used to remove the refresh token and access token cookies if they exist on the client and revoke the refres. Self-contained Naftiko capability covering one business surface.'
  tags:
  - FusionAuth
  - Logout
  created: '2026-05-20'
  modified: '2026-05-20'
binds:
- namespace: env
  keys:
    FUSIONAUTH_API_KEY: FUSIONAUTH_API_KEY
capability:
  consumes:
  - type: http
    namespace: fusionauth-logout
    baseUri: http://localhost:9011
    description: FusionAuth API — Logout business capability. Self-contained, no shared references.
    resources:
    - name: api-logout
      path: /api/logout
      operations:
      - name: createlogout
        method: POST
        description: The Logout API is intended to be used to remove the refresh token and access token cookies if they exist on the client and revoke the refres
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: global
          in: query
          type: string
          description: When this value is set to true all the refresh tokens issued to the owner of the provided token will be revoked.
        - name: refreshToken
          in: query
          type: string
          description: The refresh_token as a request parameter instead of coming in via a cookie. If provided this takes precedence over the cookie.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: fusionauth-logout-rest
    port: 8080
    description: REST adapter for FusionAuth API — Logout. One resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/api/logout
      name: api-logout
      description: REST surface for api-logout.
      operations:
      - method: POST
        name: createlogout
        description: The Logout API is intended to be used to remove the refresh token and access token cookies if they exist on the client and revoke the refres
        call: fusionauth-logout.createlogout
        with:
          global: rest.global
          refreshToken: rest.refreshToken
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: fusionauth-logout-mcp
    port: 9090
    transport: http
    description: MCP adapter for FusionAuth API — Logout. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: fusionauth-createlogout
      description: The Logout API is intended to be used to remove the refresh token and access token cookies if they exist on the client and revoke the refres
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: fusionauth-logout.createlogout
      with:
        global: tools.global
        refreshToken: tools.refreshToken
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.