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
- Parameters
-
Query username String Request body application/xml Paging Query order Ordering
- Response body
- String - the details of the user.
- Content type: application/xml
POST /security/user/validatePassword
- Parameters
-
Request body application/xml User
- Response body
- PasswordValidationResult
- Content type: application/xml
POST /security/user/{username}
Creates a new user.
- Permissions
-
security#edit
- Parameters
-
Path username String the login namethe details of the user, containing username and new password. Username in here should be the same as the username in the URL path. Request body application/xml User the login namethe 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.the details of the user, containing username and new password. Request body application/xml User the login name of the 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