Skip to main content

users

Accounts, roles and Samba credentials: the admin, viewer and share-only roles, per-account passwords (which write the UI credential and the Samba passdb entry together), user groups and session list/revoke. Account recovery over the Unix socket and personal API tokens are also under this tag.

📄️Create a personal API token

A personal API token, scoped to admin or viewer, for scripting and the remote CLI over TCP. The raw token is returned only here, once — only its SHA-256 is ever stored afterward, mirroring how a session cookie is handled. Refused for a share-only account (share-only has no API access at all), and refused when role exceeds the account's own role: a token can narrow an account's access (an admin can hand out a viewer-scoped token to reduce a script's own blast radius), never widen it.