The update command is used to modify an identity.

JSON Input Data Format
{
    "id": string,
    "name": string,
    "lastname": string,
    "email": string,
    "upass": string,
    "faenabled": boolean,
    "modfilter": string,
    "groups": string

}
id * Specifies the ID of the identity.
name * Specifies the first name of a person.
lastname * Specifies the last name of a person.
email * Specifies the email address of a person, which also serves as their login name.
upass * Specifies the password for the identity.
faenabled * Determines whether Two-Factor / Dynamic PIN Authentication is enabled.
modfilter Specifies a comma-separated list of module name filters that will display only the matching modules in the sidebar. To show all modules, input an empty string. For example, "block,instances" will result in only the modules Block Storage, Instances-cn, Instances-vm, and Instances-xvm being listed in the sidebar. The Start module is always visible.
groups Specifies a comma-separated list of Group IDs that will be assigned to the Group. You can pass an empty string to remove all roles.
* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": "The process was successfully completed"
}

Failed Response
{
    "result": "ERR",
    "message": "Error message ..."
}