# Update a User Update a User's settings. Endpoint: PATCH /v2/user/{user_id} Version: 1.0.0 Security: BearerAuth ## Path parameters: - `user_id` (integer, required) The resource ID of the User Example: 123456789 ## Request fields (application/json): - `first_name` (string) First name of the user. - `last_name` (string) Last name of the user. - `email` (string) Email address of the user. - `phone` (string) Phone number of the user. - `options` (array,null) Additional options. - `account` (string) Account associated with the user. - `roles` (array,null) List of roles assigned to the user. ## Response 200 fields (application/json): - `first_name` (string) - `last_name` (string) - `email` (string) - `phone` (string,null) - `activated_on` (string) - `verified_on` (string,null) - `activity_on` (string,null) - `status` (string) - `options` (object) - `options.tour` (object) - `options.tour.dashboard.content` (boolean) - `id` (integer) - `created_on` (string) - `modified_on` (string,null) - `country` (string,null) - `_embedded` (object) - `_embedded.memberships` (object) - `_embedded.memberships._links` (object) - `_embedded.memberships._links.self` (object) - `_embedded.memberships._links.self.href` (string) Example: "https://api.foleon.com/..." - `_embedded.roles` (object) - `_embedded.roles.name` (string) - `_embedded.roles.description` (string) - `_embedded.roles.is_license` (boolean) - `_embedded.roles.priority` (integer) - `_embedded.roles.grants` (object) - `_embedded.roles.account` (integer,null) - `_embedded.roles.users` (object) - `_computed` (object) - `_computed.has_password` (boolean) - `_computed.num_accounts` (integer) ## Response 400 fields ## Response 401 fields