Sign-in · signOut
Sign out
POST /api/auth/sign-out
Ends this session.
- Who may call it
- Anyone (no credentials)
- Server
- https://api.logu.dev
Example#
curl -s -X POST "https://api.logu.dev/api/auth/sign-out" \
-H "Authorization: Bearer $LOGU_SESSION_TOKEN"
Responses#
200
Signed out.
{
"success": true
}
Response fields
| Field | Type | Required | Notes |
|---|---|---|---|
success | boolean | required |
Errors#
Every error is {"error":{"code","message","hint","docUrl","requestId"}}: branch on code. See Errors.
| Status | Code | Meaning |
|---|---|---|
| 401 | unauthorized | No credentials, or the API key or session is invalid or revoked. |
| 500 | internal_error | Something went wrong on Logu's side. |