Modifies an Employee Identity and Access Management (EIAM) account.
Operation description
The operation conforms to the HTTP PATCH request method. The value of a parameter is modified only if the parameter is specified in the request.
Debugging
Authorization information
Request syntax
PATCH /v2/{instanceId}/{applicationId}/users/{userId}
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Authorization | string | Yes | The authentication information. Format: Bearer ${access_token}. Example: Bearer ATxxxx. | Bearer AT8csE2seYxxxxxij |
instanceId | string | Yes | The instance ID. | idaas_ue2jvisn35ea5lmthk267xxxxx |
applicationId | string | Yes | The application ID. | app_mkv7rgt4d7i4u7zqtzev2mxxxx |
userId | string | Yes | The account ID. | user_d6sbsuumeta4h66ec3il7yxxxx |
body | object | No | The request body. | |
username | string | No | The username of the account. | name001 |
displayName | string | No | The display name of the account. | display_name001 |
phoneRegion | string | No | The country code of the mobile number. For example, the country code of China is 86 without 00 or +. This parameter is required if a mobile number is specified. | 86 |
phoneNumber | string | No | The mobile number of the user who owns the account. | 156xxxxxxx |
phoneNumberVerified | boolean | No | Indicates whether the mobile number is verified. This field is required if a mobile number is specified. If you have no special requirement, set this parameter to true. | true |
string | No | The email address of the user who owns the account. | example@example.com | |
emailVerified | boolean | No | Indicates whether the email address is verified. This field is required if an email address is specified. If you have no special requirement, set this parameter to true. | true |
Response parameters
Examples
Sample success responses
JSON
format
{}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-10-24 | The internal configuration of the API is changed, but the call is not affected | View Change Details |
2023-04-16 | The internal configuration of the API is changed, but the call is not affected | View Change Details |