Connectors
...
Actions
Update User
5 min
description modifies a cyberark vault user's details by utilizing their userid and new username requires both userid and username endpoint url /passwordvault/api/users/{{userid}}/ method put inputs path parameters (object) – required userid (string) – required json body (object) – required username (string) – required the name of the user usertype (string) the user type that was returned according to the license unauthorizedinterfaces (array) the user type that was returned according to the license location (string) the location in the vault where the user will be created expirydate (number) the date when the user expires useractivitylogretentiondays (number) the number of days that a user's account activity records are stored before they are deleted loginfromhour (number) the starting time of the timeframe in which a user can log in to an account logintohour (number) the ending time of the timeframe in which a user can log in to an account enableuser (boolean) whether the user is enabled authenticationmethod (array) the authentication method that the user uses to log on password (string) the password that the user will use to log on for the first time changepassonnextlogon (boolean) whether or not the user must change their password from the second log on onward passwordneverexpires (boolean) whether the user's password will not expire unless they decide to change it distinguishedname (string) the user's distinguished name vaultauthorization (array) the user permissions businessaddress (object) the user's postal address, including city, state, zip, country and street workstreet (string) workcity (string) workstate (string) workzip (string) workcountry (string) internet (object) the user's email addresses, including home page, home email, business email and other email homepage (string) homeemail (string) businessemail (string) otheremail (string) phones (object) the user's phone numbers, including home, business, cellular, fax and pager homenumber (string) businessnumber (string) cellularnumber (string) faxnumber (string) pagernumber (string) description (string) notes and comments personaldetails (object) street (string) city (string) state (string) zip (string) country (string) title (string) organization (string) department (string) profession (string) firstname (string) middlename (string) lastname (string) output example \[ { "status code" 200, "response headers" {}, "reason" "success", "json body" { "enableuser" true, "changepassonnextlogon" false, "expirydate" 1577836800, "suspended" false, "unauthorizedinterfaces" \[ "gui" ], "authenticationmethod" \[ "authtypepass" ], "passwordneverexpires" true, "distinguishedname" "johndoeroe", "description" "john doe roe", "businessaddress" { "workstreet" "kuritania street", "workcity" "curitania", "workstate" "suritania", "workzip" "90211", "workcountry" "ruritania" }, "internet" { "homepage" "example com", "homeemail" "john\@example net", "businessemail" "john\@example com", "otheremail" "john\@example org" }, "phones" { "homenumber" "555 0100", "businessnumber" "555 0101", "cellularnumber" "0491 570 156", "faxnumber" "555 0102", "pagernumber" "555 0103" }, "personaldetails" { "street" "main street", "city" "curitania", "state" "suritania", "zip" "90210", "country" "ruritania", "title" "mr john", "organization" "acme", "department" "newco", "profession" "doing job", "firstname" "john", "middlename" "doe", "lastname" "roe" }, "id" 24, "username" "johndr", "source" "cyberark", "usertype" "epvuser", "componentuser" false, "vaultauthorization" \[ "auditusers" ], "location" "\\\\" } } ] output parameters status code (number) reason (string) json body (object) enableuser (boolean) changepassonnextlogon (boolean) expirydate (number) suspended (boolean) unauthorizedinterfaces (array) authenticationmethod (array) passwordneverexpires (boolean) distinguishedname (string) description (string) businessaddress (object) workstreet (string) workcity (string) workstate (string) workzip (string) workcountry (string) internet (object) homepage (string) homeemail (string) businessemail (string) otheremail (string) phones (object) homenumber (string) businessnumber (string) cellularnumber (string) faxnumber (string) pagernumber (string) personaldetails (object) street (string) city (string) state (string) zip (string) country (string) title (string) organization (string) department (string) profession (string) firstname (string) middlename (string) lastname (string) id (number) username (string) source (string) usertype (string) componentuser (boolean) vaultauthorization (array) location (string)