Auth
Log out
Revokes the current refresh token (and its rotation family) and clears the refresh_token cookie. Pass all: true to revoke every active session for the user.
post/v1/auth/logout
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/auth/logout
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)
Request body
Example request
{
"refresh_token": "rt_9f2StGXR8Z5jdHi6B..."
}Response
Session(s) revoked.
Changes
No recorded changes to this operation across all 1 revision of this API.