Users

Create one managed Unix/PAM account and its corresponding Sylve user record, synchronizing the required password and optional Samba credential; passwords are limited to 72 UTF-8 bytes

post/auth/users/pam

Request

  • Base URL
    https://sylve.lan:8181/api
  • URL
    https://sylve.lan:8181/api/auth/users/pam
  • Auth
    API key in header Authorization

Request body

adminboolean required
auxGroupIdsinteger[]
confirmGuestActionsboolean
createSambaboolean
disablePasswordboolean
doasEnabledboolean
emailstring
fullNamestring
homeDirPermsinteger required
homeDirectorystring
lockedboolean
newPrimaryGroupboolean
passwordstring required
primaryGroupIdinteger
shellstring
sshPublicKeystring
uidinteger required
usernamestring required

Response

PAM User Created

errorstring
messagestring
statusstring

Changes