ManagementUsersUsers merchant level

Update a user

PATCH
/merchants/{merchantId}/users/{userId}

Updates user details for the userId and the merchantId specified in the path.

To make this request, your API credential must have the following role:

  • Management API—Users read and write

Authorization

AuthorizationBasic <token>

In: header

Path Parameters

merchantId*string

Unique identifier of the merchant.

userId*string

Unique identifier of the user.

Request Body

application/json

accountGroups?array<string>

The list of account groups associated with this user.

active?boolean

Sets the status of the user to active (true) or inactive (false).

email?string

The email address of the user.

loginMethod?string

The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user.

Possible values: Username & account, Email, or SSO

name?

The user's full name.

Length1 <= length <= 80
roles?array<string>

The list of roles for this user.

timeZoneCode?string

The tz database name of the time zone of the user. For example, Europe/Amsterdam.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/merchants/string/users/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "_links": {    "self": {      "href": "string"    }  },  "accountGroups": [    "string"  ],  "active": true,  "apps": [    "string"  ],  "email": "string",  "id": "string",  "name": {    "firstName": "string",    "lastName": "string"  },  "roles": [    "string"  ],  "timeZoneCode": "string",  "username": "string"}