Update User
Use to update the information of an existing user in the system.
The following rules apply:
- Parameters specified will overwrite existing property values
- Parameters not specified will not change existing property values
To clear an existing property value, specify the parameter without a value.
URL |
Copy
|
Method |
|
Header parameters
Name |
Description |
---|---|
Perfecto-Authorization
|
Data parameters (body)
Parameter | Type | Default | Description |
---|---|---|---|
username*
|
string
|
|
The name of the user being created. This parameter is mandatory if the lab is not configured to use the email address as the user. |
password
|
string
|
|
The password for the user. |
firstName
|
string
|
|
The new user's first name. |
lastName
|
string
|
|
The new user's last name. |
email
|
string
|
|
The new user's email address. |
enabled
|
boolean
|
|
A flag that indicates if the user is enabled in the system. |
isIdpUser
|
boolean
|
|
A flag that indicates if the user is authenticated through a third-party identity provider (IdP). |
tempPassword
|
boolean
|
|
A flag that indicates if a temporary password is set for the user to log into the system for the first time. |
idpLink
|
string
|
|
The link to the third-party identity provider, if used. |
idpUsername
|
string
|
|
The username in the IdP system, if used. |
* Mandatory parameter
Success response
Code: 200
Error response
Status and a generic error message