Save User
Request Overview
This method adds a new user to KRON PAM.
Mandatory fields in request body:
Parameters
-
name
andsurname
: These fields are used to identify the user. -
eid
: An alternative way to reference users. It's a unique identifier for each user. -
email
: The email address of the user. It's essential for communication and might be used for notifications or password recovery. -
phoneNumber
: Contact number of the user. -
groups
: A list of groups to which the user belongs.- For example, a user can be part of "DEFAULT_GROUP_SYSYEM_USERS" and "DEFAULT_GROUP_SYSYEM_ADMINS". Or it can be a member of one of your founded User Groups like "Linux_users".
-
password
: A required field for internal users. It's the password that the user will use to log in. -
passwordAlgorithm
: The algorithm used to hash the password. In this case, "MD5" is used
How to Make a Temporary User
-
tempUser
: This field must be settrue
to mark the user as a temporary user. -
tempUserStartTime
andtempUserEndTime
: These define the start and end times for the user's access, provided in epoch format (miliseconds). -
properties
: This must include following string fields:-
isTemporaryUser
: Must be set totrue
. -
temporaryUserStartTime
andtemporaryUserEndTime
: Also in epoch miliseconds, but provided as strings.
-