homerouter.io
Administrator Login
Change Bootstrap Password
Change the bootstrap password before managing proxy users.
| Username | Status | Active now | Actions |
|---|
DEBUG: authentication and traffic · INFO: completed traffic · WARNING: denied requests · ERROR: server and upstream failures. Changes apply immediately and persist across restarts.
Using the API
The API provides access to proxy users, live status, and log levels. The admin interface uses a secure session cookie; sign-in and password changes have dedicated endpoints. Trusted backend services can use PROXY_API_TOKEN on endpoints that support service-token authentication. Never expose a service token in browser code. Proxy credential verification and disconnect endpoints use the proxy user's own credentials.
/api/v1
| Method | Route | Purpose |
|---|---|---|
| POST | /login | Sign in and create an admin session |
| GET | /session | Check the current admin session |
| POST | /logout | End the admin session |
| POST | /admin/password | Change the administrator password |
| GET, POST | /users | List and create proxy users |
| GET, PATCH, DELETE | /users/{username} | Read, update, and delete a proxy user |
| GET | /status | Read user counts and live usage |
| GET, PATCH | /settings/logging | Read and update the Docker log level |
| POST | /proxy/verify | Verify proxy credentials without the auth cache |
| POST | /proxy/disconnect | Disconnect a proxy user's active connections |
Proxy usernames and passwords are sent in the HTTPS request body. See the OpenAPI specification for the exact access requirements for each route.