Auth

Auth - Logout

Sets the session cookie to empty with immediate expiry. Stateless JWTs — no server-side session row to destroy; if the client presents the old cookie value on a subsequent request the SessionAuth filter rejects it once the JWT expiry passes. Idempotent — always returns 200.

post/admin/v1/auth/logout

Request

  • Base URL: https://api.juju.com
  • URL: https://api.juju.com/admin/v1/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.