UserService

Manages users in XL Deploy's internal user repository. Use this service only if you're not connected to an external user repository like LDAP.

GET /security/user/ Returns the user details without the password.
POST /security/user/validatePassword
POST /security/user/{username} Creates a new user.
GET /security/user/{username} Returns the user details without the password.
PUT /security/user/{username} Changes the password of the indicated user.
DELETE /security/user/{username} Deletes the user.

GET /security/user/

Returns the user details without the password.
Permissions
security#edit
Response body
List of String - the details of the user.
Content type: application/xml

POST /security/user/validatePassword

Response body
List of PasswordValidationResult
Content type: application/xml

POST /security/user/{username}

Creates a new user.
Permissions
security#edit
Parameters
Path username String the login name
Request body application/xml User the details of the user, containing username and new password. Username in here should be the same as the username in the URL path.
Response body
User - the created user, without the password.
Content type: application/xml

GET /security/user/{username}

Returns the user details without the password.
Permissions
security#edit
Parameters
Path username String the login name of the user.
Response body
User - the details of the user.
Content type: application/xml

PUT /security/user/{username}

Changes the password of the indicated user. Username should be the same as the username in the URL path.
Permissions
security#edit
Parameters
Path username String the login name of the user.
Request body application/xml User the details of the user, containing username and new password.
Response body
Empty

DELETE /security/user/{username}

Deletes the user.
Permissions
security#edit
Parameters
Path username String the login name of the user.
Response body
Empty