Search Documentation

Search API endpoints, webhooks, tools, and guides

On this page6 sections
Is this helpful?
Quick Actions
Download OpenAPI.json
POST/api/auth/logoutAuthentication

User Logout

Revokes the interactive user's refresh session represented by the Bearer JWT via Supabase admin signOut. Not permitted for machine-to-machine integration tokens.

Authentication: Requires Authorization: Bearer <ACCESS_TOKEN> (Supabase JWT, OAuth2 M2M token, or integration token).

Request

Provide the following fields in the request payload.

Body application/json
No request body parameters are required for this endpoint.

Responses

Select a status code to inspect schema.

Logged out and session revoked successfully.application/json
successenum('true')

Success (true).

messagestring

Message.

dataobject | null

Response payload or null.

POST/api/auth/logout
curl -X POST "https://api.invoger.com/api/auth/logout" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{}'
Interactive playground

Response

application/json
{
  "success": true,
  "message": "Logged out successfully",
  "data": null
}