{"title":"Update a web user account","category":"default","creationDate":1776961629,"content":"<p>This call supports full and partial updates:<\/p>\n<ul>\n<li>All the populated fields in the update request are updated;<\/li>\n<li>Any non-mandatory fields excluded from the operation are skipped.<\/li>\n<\/ul>\n<p>For a field to be updated correctly, it needs to be completely populated.\u00a0For example, to update an element that contains child elements, all the mandatory child elements must be populated with valid data.<\/p>\n<p>If one or more mandatory sub-elements are missing from the update request, the whole parent element fails to update, and its value does not change.  <\/p>\n<p>When you make a POST\u00a0<code>\/updateWebUser<\/code>\u00a0request, take the following guidelines into account:<\/p>\n<ul>\n<li><code>grantRoles<\/code>: Update per role.<\/li>\n<li><code>revokeRoles<\/code>: Update per role.<\/li>\n<li><code>name<\/code>\u00a0and\u00a0<code>email<\/code>\u00a0are related fields; therefore, they both need to be completely populated in the update request, even when you want to update only one of them.<\/li>\n<li>This implies also that if the update fails for either\u00a0<code>name<\/code>\u00a0or\u00a0<code>email<\/code>, the other related element is not updated, either.<\/li>\n<li><code>addMerchantCodes<\/code>: Update per\u00a0<code>merchantCode<\/code>.<\/li>\n<li><code>deleteMerchantCodes<\/code>: Update per\u00a0<code>merchantCode<\/code>.<\/li>\n<\/ul>\n<h2 id=\"updatewebuser-request-fields\">Request parameters<\/h2>\n<p>To update web user account information, make a POST <code>\/updateWebUser<\/code> request specifying:<\/p>\n<table>\n<col style=\"width: 10%\"><col style=\"width: 15%\"><col style=\"width: 10%\"><col style=\"width: 15%\"><col style=\"width: 50%\">\n  <tbody>\n    <tr>\n      <th colspan=\"2\">Name<\/th>\n      <th>Type<\/th>\n      <th><center>Required<\/center><\/th>\n      <th>Description<\/th>\n    <\/tr>\n    <tr><td colspan=\"2\"><code>userName<\/code><\/td><td>\n<p>String<\/p>\n<\/td><td>\n<center><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/center>\n<\/td><td>\n<p>A user name string holds the user account display name.<br \/>\nIt can include:<\/p>\n<ul>\n<li>Digits: <em>0-9<\/em><\/li>\n<li>Letters <em>a-z<\/em>, <em>A-Z<\/em><\/li>\n<li>Special characters: \"<em>.<\/em>\" (dot), \"<em>-<\/em>\" (hyphen), \"<em>_<\/em>\" (underscore)<em><br \/>\n<\/em><\/li>\n<\/ul>\n<\/td><\/tr>\n    <tr>\n      <td colspan=\"2\"><code>active<\/code><\/td>\n      <td>\n<p>Boolean<\/p>\n<\/td>\n      <td>\n<center><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/center>\n<\/td>\n      <td>\n<ul><li>\n<p>Set to\u00a0<code>true<\/code> to activate an account.<\/p>\n<\/li><li>\n<p>Set to\u00a0<code style=\"color: rgb(0,51,102);\">false<\/code> to make the account inactive.<\/p>\n<\/li><\/ul>\n<\/td>\n    <\/tr>\n    <tr>\n    <td colspan=\"2\"><code>addMerchantCodes<\/code><br>\n<\/td><td>\n<p>List<\/p>\n<\/td><td>\n<center><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/center>\n<\/td><td>\n<p>A list holding merchant codes you want to activate and associate with the specified user account.A merchant code string holds a value to identify a merchant.<\/p>\n<p>Format:<\/p>\n<ul>\n<li>Either: <code>MerchantAccount.Merchant_Code<\/code><\/li>\n<li>Or: <code>Merchant_Code<\/code><div class=\"sc-notice note\"><div>Merchant codes in this list should not be included in\u00a0<code>deleteMerchantCodes<\/code> as well.<\/div><\/div><\/li>\n<\/ul>\n<\/td><\/tr>\n<tr><td colspan=\"2\"><code>deleteMerchantCodes<\/code><\/td><td>\n<p>List<\/p>\n<\/td><td>\n<center><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/center>\n<\/td><td>\n<p>A list holding merchant codes you want to make inactive and remove from the specified user account.\u00a0A merchant code string holds a value to identify a merchant.<\/p>\n<p>Format:<\/p>\n<ul>\n<li>Either: <code>MerchantAccount.Merchant_Code<\/code><\/li>\n<li>Or: <code>Merchant_Code<\/code><div class=\"sc-notice note\"><div>Merchant codes in this list should not be included in <code>addMerchantCodes<\/code> as well.<\/div><\/div><\/li>\n<\/ul>\n<\/td><\/tr>\n<td colspan=\"2\"><code>addAccountGroupCodes<\/code><br>\n<\/td><td>\n<p>List<\/p>\n<\/td><td>\n<center><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/center>\n<\/td><td>\n<p>A list of account groups that the user should have access to.<\/p>\n<\/td>\n<tr><td colspan=\"2\"><code>removeAccountGroupCodes<\/code><\/td><td>\n<p>List<\/p>\n<\/td><td>\n<center><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/center>\n<\/td><td>\n<p>A list of account groups that the user should no longer have access to.<\/p>\n<\/td><\/tr>\n<tr><td colspan=\"2\"><code>email<\/code><\/td><td>\n<p>String<\/p>\n<\/td><td>\n<center><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/center>\n<\/td><td>\n<p>The email address associated with the user account.<\/p>\n<\/td><\/tr>\n<tr><td colspan=\"2\"><code>grantRoles<\/code><\/td><td>\n<p>List<\/p>\n<\/td><td>\n<center><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/center>\n<\/td><td>\n<p>New roles you want to assign to the specified user account.<ul><li markdown=\"1\"><code>RoleType<\/code><\/li><\/ul><div class=\"sc-notice note\"><div><p>Roles in this list should not be included in <code>revokeRoles<\/code> as well.<\/p><\/div><\/div><\/p>\n<\/td><\/tr>\n<tr><td colspan=\"1\"><\/td><td colspan=\"1\"><code>RoleType<\/code><\/td><td>\n<p>enum<\/p>\n<\/td><td>\n<center><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/center>\n<\/td><td>\n<p>It defines the type of role assigned to the user account.<br \/>\nSome examples of roles are:<\/p>\n<ul>\n<li><code>Merchant_standard_role<\/code><\/li>\n<li><code>Merchant_manage_payments<\/code><\/li>\n<li><code>Merchant_Report_role<\/code><\/li>\n<li><code>Merchant_dispute_management<\/code><\/li>\n<li><code>Merchant_technical_integrator<\/code><\/li>\n<li><code>Merchant_View_Risk_Results_role<\/code><\/li>\n<li><code>Merchant_view_risk_settings<\/code><\/li>\n<li><code>Merchant_change_risk_settings<\/code>\u00a0<\/li>\n<li><code>Merchant_allowed_own_password_reset<\/code><\/li>\n<\/ul>\n<\/td><\/tr>\n <tr><td colspan=\"2\"><code>revokeRoles<\/code><\/td><td>\n<p>List<\/p>\n<\/td><td>\n<center><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/center>\n<\/td><td>\n<p>Assigned roles you want to revoke from the specified user account.<ul><li markdown=\"1\"><code>RoleType<\/code><\/li><\/ul><div class=\"sc-notice note\"><div><p>Roles in this list should not be included in <code>grantRoles<\/code> as well.<\/p><\/div><\/div><div class=\"sc-notice info\"><div><p>The <code>Merchant_standard_role<\/code> lets a user log in to the Customer Area. Make sure that at least one user in your company has this role.<\/p><\/div><\/div><\/p>\n<\/td><\/tr>\n <tr><td colspan=\"1\"><\/td><td colspan=\"1\"><code>RoleType<\/code><\/td><td>\n<p>enum<\/p>\n<\/td><td>\n<center><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/center>\n<\/td><td>\n<p>It defines the type of role assigned to the user account.<br \/>\nSome examples of roles are:<\/p>\n<ul>\n<li><code>Merchant_standard_role<\/code><\/li>\n<li><code>Merchant_manage_payments<\/code><\/li>\n<li><code>Merchant_Report_role<\/code><\/li>\n<li><code>Merchant_dispute_management<\/code><\/li>\n<li><code>Merchant_technical_integrator<\/code><\/li>\n<li><code>Merchant_View_Risk_Results_role<\/code><\/li>\n<li><code>Merchant_view_risk_settings<\/code><\/li>\n<li><code>Merchant_change_risk_settings<\/code>\u00a0<\/li>\n<li><code>Merchant_allowed_own_password_reset<\/code><\/li>\n<\/ul>\n<\/td><\/tr><tr><td colspan=\"2\"><code>timeZoneCode<\/code><\/td><td>\n<p>String<\/p>\n<\/td><td>\n<center><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/center>\n<\/td><td>\n<p>The time zone associated to the user account profile.<\/p>\n<p>If you do not specify any value, the active user's time zone settings are used instead.<\/p>\n<\/td><\/tr>\n   <tr>\n     <td colspan=\"2\"><code>name<\/code><\/td>\n     <td>\n<p>Object<\/p>\n<\/td>\n     <td>\n<center><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/center>\n<\/td>\n     <td>\n<p>A container object for personal data. This object contains: <ul><li markdown=\"1\"><code>firstName<\/code><\/li><li markdown=\"1\"><code>lastName<\/code><\/li><\/ul><\/p>\n<\/td>\n   <\/tr>\n   <tr>\n     <td colspan=\"1\"> <\/td>\n     <td colspan=\"1\">|-<code>firstName<\/code><\/td>\n     <td>\n<p>String<\/p>\n<\/td>\n     <td>\n<center><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/center>\n<\/td>\n     <td>\n<p>The first name\/given name of the user.<\/p>\n<ul>\n<li>Max. length: 80 characters<\/li>\n<\/ul>\n<\/td>\n   <\/tr>\n   <tr>\n     <td colspan=\"1\">\u00a0<\/td>\n     <td colspan=\"1\">|-<code>lastName<\/code><\/td>\n     <td>\n<p>String<\/p>\n<\/td>\n     <td>\n<center><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/center>\n<\/td>\n     <td>\n<p>The last name\/family name of the user.<\/p>\n<ul>\n<li>Max. length: 80 characters<\/li>\n<\/ul>\n<\/td>\n   <\/tr>\n <\/tbody><\/table>\n<h2 id=\"updatewebuser-response-fields\">Response parameters<\/h2>\n<p>If there are no errors in the request, the call returns\u00a0a\u00a0<code>pspReference.<\/code>If any issues occur during the process, the call returns one or more warning or error messages.<\/p>\n<table><thead><tr class=\"header\"><th>Name<\/th><th>Type<\/th><th>Returned\u00a0by\u00a0default<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>\n<p><code>pspReference<\/code><\/p>\n<\/td><td>\n<p>String<\/p>\n<\/td><td>\n<center><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/center>\n<\/td><td>\n<p>A reference to uniquely identify the request.<\/p>\n<\/td><\/tr><tr><td>\n<p><code>warnings<\/code><\/p>\n<\/td><td>\n<p>String<\/p>\n<\/td><td>\n<center><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/center>\n<\/td><td>\n<p>List containing one or more warning messages.<br \/>\nReturned when the request is not correctly processed.<\/p>\n<\/td><\/tr><tr><td>\n<p><code>errors<\/code><\/p>\n<\/td><td>\n<p>String<\/p>\n<\/td><td>\n<center><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/center>\n<\/td><td>\n<p>List containing one or more error messages.<br \/>\nReturned when the request fails.<\/p>\n<\/td><\/tr><\/tbody><\/table>\n<h2>Examples<\/h2>\n<h3 id=\"request\">Request<\/h3>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"''\" :id=\"'96665725'\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"JSON\",\"content\":\"{\\n   \\\"active\\\":\\\"true\\\",\\n   \\\"addMerchantCodes\\\":[\\n      \\\"MerchantAccount.TestMerchant\\\"\\n   ],\\n   \\\"deleteMerchantCodes\\\":[\\n      \\\"TestMerchantDelete\\\"\\n   ],\\n   \\\"email\\\":\\\"test@email.ad\\\",\\n   \\\"grantRoles\\\":[\\n      \\\"Merchant_change_risk_settings\\\"\\n   ],\\n   \\\"name\\\":{\\n      \\\"firstName\\\":\\\"Jane\\\",\\n      \\\"lastName\\\":\\\"Green\\\"\\n   },\\n   \\\"revokeRoles\\\":[\\n      \\\"Merchant_technical_integrator\\\",\\n      \\\"Merchant_dispute_management\\\"\\n   ],\\n   \\\"timeZoneCode\\\":\\\"UTC\\\",\\n   \\\"userName\\\":\\\"merchant1\\\"\\n}\"},{\"language\":\"xml\",\"tabTitle\":\"Soap\",\"content\":\"&lt;soap:Envelope xmlns:soap=\\\"http:\\\/\\\/schemas.xmlsoap.org\\\/soap\\\/envelope\\\/\\\" xmlns:xsd=\\\"http:\\\/\\\/www.w3.org\\\/2001\\\/XMLSchema\\\" xmlns:xsi=\\\"http:\\\/\\\/www.w3.org\\\/2001\\\/XMLSchema-instance\\\"&gt;\\n  &lt;soap:Body&gt;\\n    &lt;updateWebUser xmlns=\\\"http:\\\/\\\/caaccount.services.adyen.com\\\"&gt;\\n      &lt;request&gt;\\n        &lt;active&gt;true&lt;\\\/active&gt;\\n        &lt;email&gt;test@email.ad&lt;\\\/email&gt;\\n        &lt;addMerchantCodes&gt;\\n          &lt;string&gt;MerchantAccount.TestMerchant&lt;\\\/string&gt;\\n        &lt;\\\/addMerchantCodes&gt;\\n        &lt;deleteMerchantCodes&gt;\\n          &lt;string&gt;TestMerchantDelete&lt;\\\/string&gt;\\n        &lt;\\\/deleteMerchantCodes&gt;\\n        &lt;grantRoles&gt;\\n          &lt;RoleType&gt;Merchant_change_risk_settings&lt;\\\/RoleType&gt;\\n        &lt;\\\/grantRoles&gt;\\n        &lt;name&gt;\\n          &lt;firstName&gt;Jane&lt;\\\/firstName&gt;\\n          &lt;lastName&gt;Doe&lt;\\\/lastName&gt;\\n        &lt;\\\/name&gt;\\n        &lt;revokeRoles&gt;\\n          &lt;RoleType&gt;Merchant_technical_integrator&lt;\\\/RoleType&gt;\\n          &lt;RoleType&gt;Merchant_dispute_management&lt;\\\/RoleType&gt;\\n        &lt;\\\/revokeRoles&gt;\\n        &lt;timeZoneCode&gt;UTC&lt;\\\/timeZoneCode&gt;\\n        &lt;userName&gt;merchant1&lt;\\\/userName&gt;\\n      &lt;\\\/request&gt;\\n    &lt;\\\/updateWebUser&gt;\\n  &lt;\\\/soap:Body&gt;\\n&lt;\\\/soap:Envelope&gt;\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<h3 id=\"response\">Response<\/h3>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"''\" :id=\"'1246783221'\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"JSON\",\"content\":\"{\\n   \\\"pspReference\\\":\\\"9914140700917468\\\"\\n}\"},{\"language\":\"xml\",\"tabTitle\":\"Soap\",\"content\":\"&lt;?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?&gt;\\n&lt;soap:Envelope xmlns:soap=\\\"http:\\\/\\\/schemas.xmlsoap.org\\\/soap\\\/envelope\\\/\\\" xmlns:xsd=\\\"http:\\\/\\\/www.w3.org\\\/2001\\\/XMLSchema\\\" xmlns:xsi=\\\"http:\\\/\\\/www.w3.org\\\/2001\\\/XMLSchema-instance\\\" xmlns:ns0=\\\"http:\\\/\\\/caaccount.services.adyen.com\\\"&gt;\\n    &lt;soap:Body&gt;\\n        &lt;ns0:updateWebUserResponse&gt;\\n            &lt;ns0:response&gt;\\n                &lt;ns0:pspReference&gt;9914140700917468&lt;\\\/ns0:pspReference&gt;\\n            &lt;\\\/ns0:response&gt;\\n        &lt;\\\/ns0:updateWebUserResponse&gt;\\n    &lt;\\\/soap:Body&gt;\\n&lt;\\\/soap:Envelope&gt;\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<h3 id=\"response-in-case-of-an-error-or-warning\">Response in case of an error or warning<\/h3>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"''\" :id=\"'1421004802'\" :code-data=\"[{&quot;language&quot;:&quot;json&quot;,&quot;tabTitle&quot;:&quot;JSON&quot;,&quot;content&quot;:&quot;{\\n   \\&quot;pspReference\\&quot;:\\&quot;9914140700710438\\&quot;,\\n   \\&quot;warnings\\&quot;:[\\n      \\&quot;8_041 failed revokeRoles 'Merchant_dispute_management': not even granted\\&quot;\\n   ]\\n}&quot;},{&quot;language&quot;:&quot;xml&quot;,&quot;tabTitle&quot;:&quot;Soap&quot;,&quot;content&quot;:&quot;&lt;?xml version=\\&quot;1.0\\&quot; encoding=\\&quot;UTF-8\\&quot;?&gt;\\n&lt;soap:Envelope xmlns:soap=\\&quot;http:\\\/\\\/schemas.xmlsoap.org\\\/soap\\\/envelope\\\/\\&quot; xmlns:xsd=\\&quot;http:\\\/\\\/www.w3.org\\\/2001\\\/XMLSchema\\&quot; xmlns:xsi=\\&quot;http:\\\/\\\/www.w3.org\\\/2001\\\/XMLSchema-instance\\&quot; xmlns:ns0=\\&quot;http:\\\/\\\/caaccount.services.adyen.com\\&quot;&gt;\\n    &lt;soap:Body&gt;\\n        &lt;ns0:updateWebUserResponse&gt;\\n            &lt;ns0:response&gt;\\n                &lt;ns0:pspReference&gt;9914140700710438&lt;\\\/ns0:pspReference&gt;\\n                &lt;ns0:warnings&gt;\\n                    &lt;ns0:string&gt;8_041 failed revokeRoles 'Merchant_dispute_management': not even granted&lt;\\\/ns0:string&gt;\\n                &lt;\\\/ns0:warnings&gt;\\n            &lt;\\\/ns0:response&gt;\\n        &lt;\\\/ns0:updateWebUserResponse&gt;\\n    &lt;\\\/soap:Body&gt;\\n&lt;\\\/soap:Envelope&gt;&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>","url":"https:\/\/docs.adyen.com\/pt\/account-management-api\/manage-user-accounts\/updatewebuser","articleFields":{"id":"25135003","type":"page","description":"Update an existing web user's account information.","_expandable":{"operations":""},"status":"current"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/account-management-api\/manage-user-accounts\/updatewebuser","title":"Update a web user account","content":"This call supports full and partial updates:\n\nAll the populated fields in the update request are updated;\nAny non-mandatory fields excluded from the operation are skipped.\n\nFor a field to be updated correctly, it needs to be completely populated.\u00a0For example, to update an element that contains child elements, all the mandatory child elements must be populated with valid data.\nIf one or more mandatory sub-elements are missing from the update request, the whole parent element fails to update, and its value does not change.  \nWhen you make a POST\u00a0\/updateWebUser\u00a0request, take the following guidelines into account:\n\ngrantRoles: Update per role.\nrevokeRoles: Update per role.\nname\u00a0and\u00a0email\u00a0are related fields; therefore, they both need to be completely populated in the update request, even when you want to update only one of them.\nThis implies also that if the update fails for either\u00a0name\u00a0or\u00a0email, the other related element is not updated, either.\naddMerchantCodes: Update per\u00a0merchantCode.\ndeleteMerchantCodes: Update per\u00a0merchantCode.\n\nRequest parameters\nTo update web user account information, make a POST \/updateWebUser request specifying:\n\n\n  \n    \n      Name\n      Type\n      Required\n      Description\n    \n    userName\nString\n\n\n\nA user name string holds the user account display name.\nIt can include:\n\nDigits: 0-9\nLetters a-z, A-Z\nSpecial characters: \".\" (dot), \"-\" (hyphen), \"_\" (underscore)\n\n\n\n    \n      active\n      \nBoolean\n\n      \n\n\n      \n\nSet to\u00a0true to activate an account.\n\nSet to\u00a0false to make the account inactive.\n\n\n    \n    \n    addMerchantCodes\n\nList\n\n\n\nA list holding merchant codes you want to activate and associate with the specified user account.A merchant code string holds a value to identify a merchant.\nFormat:\n\nEither: MerchantAccount.Merchant_Code\nOr: Merchant_CodeMerchant codes in this list should not be included in\u00a0deleteMerchantCodes as well.\n\n\ndeleteMerchantCodes\nList\n\n\n\nA list holding merchant codes you want to make inactive and remove from the specified user account.\u00a0A merchant code string holds a value to identify a merchant.\nFormat:\n\nEither: MerchantAccount.Merchant_Code\nOr: Merchant_CodeMerchant codes in this list should not be included in addMerchantCodes as well.\n\n\naddAccountGroupCodes\n\nList\n\n\n\nA list of account groups that the user should have access to.\n\nremoveAccountGroupCodes\nList\n\n\n\nA list of account groups that the user should no longer have access to.\n\nemail\nString\n\n\n\nThe email address associated with the user account.\n\ngrantRoles\nList\n\n\n\nNew roles you want to assign to the specified user account.RoleTypeRoles in this list should not be included in revokeRoles as well.\n\nRoleType\nenum\n\n\n\nIt defines the type of role assigned to the user account.\nSome examples of roles are:\n\nMerchant_standard_role\nMerchant_manage_payments\nMerchant_Report_role\nMerchant_dispute_management\nMerchant_technical_integrator\nMerchant_View_Risk_Results_role\nMerchant_view_risk_settings\nMerchant_change_risk_settings\u00a0\nMerchant_allowed_own_password_reset\n\n\n revokeRoles\nList\n\n\n\nAssigned roles you want to revoke from the specified user account.RoleTypeRoles in this list should not be included in grantRoles as well.The Merchant_standard_role lets a user log in to the Customer Area. Make sure that at least one user in your company has this role.\n\n RoleType\nenum\n\n\n\nIt defines the type of role assigned to the user account.\nSome examples of roles are:\n\nMerchant_standard_role\nMerchant_manage_payments\nMerchant_Report_role\nMerchant_dispute_management\nMerchant_technical_integrator\nMerchant_View_Risk_Results_role\nMerchant_view_risk_settings\nMerchant_change_risk_settings\u00a0\nMerchant_allowed_own_password_reset\n\ntimeZoneCode\nString\n\n\n\nThe time zone associated to the user account profile.\nIf you do not specify any value, the active user's time zone settings are used instead.\n\n   \n     name\n     \nObject\n\n     \n\n\n     \nA container object for personal data. This object contains: firstNamelastName\n\n   \n   \n      \n     |-firstName\n     \nString\n\n     \n\n\n     \nThe first name\/given name of the user.\n\nMax. length: 80 characters\n\n\n   \n   \n     \u00a0\n     |-lastName\n     \nString\n\n     \n\n\n     \nThe last name\/family name of the user.\n\nMax. length: 80 characters\n\n\n   \n \nResponse parameters\nIf there are no errors in the request, the call returns\u00a0a\u00a0pspReference.If any issues occur during the process, the call returns one or more warning or error messages.\nNameTypeReturned\u00a0by\u00a0defaultDescription\npspReference\n\nString\n\n\n\nA reference to uniquely identify the request.\n\nwarnings\n\nString\n\n\n\nList containing one or more warning messages.\nReturned when the request is not correctly processed.\n\nerrors\n\nString\n\n\n\nList containing one or more error messages.\nReturned when the request fails.\n\nExamples\nRequest\n\n    \n\nResponse\n\n    \n\nResponse in case of an error or warning\n\n    \n","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Account management API","lvl2":"Manage user accounts","lvl3":"Update a web user account"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/account-management-api","lvl2":"https:\/\/docs.adyen.com\/pt\/account-management-api\/manage-user-accounts","lvl3":"\/pt\/account-management-api\/manage-user-accounts\/updatewebuser"},"levels":4,"category":"","category_color":"","tags":["Update","account"]},"articleFiles":{"96665725.json":"<p alt=\"\">96665725.json<\/p>","1246783221.json":"<p alt=\"\">1246783221.json<\/p>","1421004802.json":"<p alt=\"\">1421004802.json<\/p>"}}
