Skip to content
ThemeNord

Same themes as the MinusPod app

Default

Catppuccin

Dracula

Nord

Gruvbox

Solarized

Rose Pine

Kanagawa

Ayu

Other

Auth

Authentication management. Direct source runs may be passwordless; shipped Compose deployments require first-password setup.

Check authentication status

Returns whether password protection is enabled and if the current session is authenticated. This endpoint is always accessible without authentication.

No session needed.

Status Description Body
200 Authentication status object
  • passwordSet (boolean): Whether a password is configured
  • authenticated (boolean): Whether current session is authenticated

Login with password

Authenticate with the configured password. Rate limited to 3 attempts per minute and 10 attempts per hour.

No session needed.

  • password (string, required): The application password
Status Description Body
200 Login successful object
401 Invalid password Error
503 Authentication is required but the first password has not been set Error
  • authenticated (boolean)
  • message (string)

Logout and clear session

Clears the current session. An authenticated logout requires the CSRF cookie/header pair; an unauthenticated caller may clear stale state.

No session needed.

Status Description Body
200 Logout successful object
403 Missing or invalid CSRF token for an authenticated session Error
  • authenticated (boolean)
  • message (string)

Set or change password

Set or change the application password. Rate limited to 3 attempts per hour.

  • Initial setup is allowed from loopback. When required auth is on, remote setup needs the configured value in X-MinusPod-Setup-Token.
  • An existing password requires currentPassword instead of CSRF.
  • A new or changed password rotates the session generation, revokes every older session, and authenticates this request’s new session.
  • Empty or null newPassword removes protection and clears this session.
  • A non-empty newPassword must contain at least 12 characters.

No session needed.

  • X-MinusPod-Setup-Token (header, string): Required only for remote initial setup when required auth is enabled.
  • currentPassword (string): Current password (required if password is already set)
  • newPassword (string or null, required): New password (at least 12 characters, or empty/null to remove protection)
Status Description Body
200 Password updated successfully object
400 Invalid request (password too short) Error
401 Current password incorrect Error
403 Remote initial setup token missing or invalid Error
409 Password changed concurrently; retry with current state Error
  • message (string, required)
  • passwordSet (boolean, required)