API ReferenceAuth
Revoke the calling access token.
Authorization
bearerAuth AuthorizationBearer <token>
AdonisJS access-token guard (middleware.auth({ guards: ["api"] })). Send Authorization: Bearer <oat_…> (issued by /auth/register, /auth/login, /auth/social/{google,apple}, or /auth/guest).
In: header
Response Body
application/json
application/json
curl -X POST "https://example.com/api/v1/auth/logout"{ "data": { "success": true }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}{ "error": { "code": "AUTH_REQUIRED", "message": "Authentication is required to access this resource." }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}Change the current password (requires current password). POST
Previous Page
Create a client-side guest observer hint. POST
Returns an opaque `guest_<ULID>` hint with `capabilities: ["observe"]`. It is not persisted server-side, is not accepted as `Authorization`, and cannot be upgraded into a full account; public catalogue endpoints are anonymous anyway.