PUT   users

Updates a user.

Remarks

Use GET roles route to get the list of roles applicable for roles.

Request body model example and description

{
  "login": "sample string 1",
  "guid": "897e20b2-d7b2-4d83-9cdd-0fc88f0205df",
  "password": "sample string 2",
  "email": "sample string 3",
  "full_name": "sample string 4",
  "phone": "sample string 5",
  "mobile": "sample string 6",
  "approved": true,
  "locked_out": true,
  "language_tag": "en-US",
  "roles": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ]
}
NameType Required Description
login String No

Login name.

guid Guid Yes

User GUID.

password String No

Password.

email String No

E-mail.

full_name String No

Fullname.

phone String No

Phone.

mobile String No

Mobile.

approved Boolean No

Is user allowed to log in and use ASM? Check this to turn the user account off.

locked_out Boolean No

Has user been locked out? Will be automatically checked after too many failed logins.

language_tag String No

Language and regional settings in format: "LL-RR", where "LL" - language code by ISO 639-1 and "RR" - region code by ISO 3166-1.

roles Object No

User's roles.