---
title: "Revoke this product session."
method: POST
path: "/api/auth/logout"
---

# Revoke this product session.

`POST /api/auth/logout`

## Request

- Base URL: `https://okfindex.com`
- URL: `https://okfindex.com/api/auth/logout`
- Auth: API key in cookie `__Host-mm-auth`

Bootstrap/CSRF must belong to this browser and session. Other product sessions remain active.
Returns: { ok }

## Response `200`

{ ok }

- object
  - `ok` boolean, required: true

## Other responses

- `400`: invalid_request
- `403`: invalid_origin / invalid_csrf
- `503`: auth_unavailable: a sessão anterior é preservada / the previous session is preserved

---

[API](https://skmtc.dev/okfindex/apis/okf-index.md) · [All operations](https://skmtc.dev/okfindex/apis/okf-index/llms.txt) · [OpenAPI document](https://skmtc.dev/okfindex/apis/okf-index/revisions/4b13ca3c739f?raw)
