API reference
POSTRequires Bearer token
Logout
/api/v1/logout
Revoke all Sanctum tokens for the authenticated principal.
Path parameters
This endpoint has no path parameters.
Query parameters
This endpoint has no query parameters.
Request body
This endpoint does not accept a request body.
Responses
| Status | Meaning |
|---|---|
| 200 | Logged out successfully |
| 401 | Missing or invalid Bearer token. |