Users
Auth

Clear the consumer session cookie

Sets the session cookie to empty with immediate expiry. No DB write — stateless JWTs don't have a server-side "session row" to destroy. Always returns 200 — idempotent.

post/api/v1/users/auth/logout

Request

  • Base URL: https://api.juju.com
  • URL: https://api.juju.com/api/v1/users/auth/logout
  • Auth: none declared

Response

Cookie cleared (idempotent).

metaobject required

Pagination and context metadata. Always present, empty object ({}) when no metadata applies to the response.

errorsstring[] required

Empty array on success. On failure, human-readable error strings suitable for surfacing to end users.

Example response

{
  "data": {
    "logged_out": true
  },
  "errors": []
}

Changes

No recorded changes to this operation across all 1 revision of this API.