Loading…
Revokes the token that authenticated the request, ending that session server-side. Every other session of the same user is left alone — use DELETE /api/v1/auth/sessions to sign out everywhere else.
auth:sanctum)None.
{
"message": "Logged out successfully."
}
The bearer token used for this call is deleted; any further request with it returns 401.
| Status | Description | Example/Reference |
|---|---|---|
| 401 | Not authenticated | Authentication error |