This API updates a user for a specific account.
Note: The current version of the API is 6.0. In order to avoid errors, please add a query parameter to your calls specifying the version, like so:
https://API_REQUEST?v=6.0
Request
| Method | URL |
|---|---|
| PUT | https://{domain}/api/account/{accountId}/configuration/le-users/users/{userId} |
Request Headers
| Header | Description |
|---|---|
| Authorization | Contains token string to allow request authentication and authorization. |
| X-HTTP-Method-Override | Overrides unsupported HTTP methods. To be used with the PUT value. |
| If-Match | Contains data revision as known by the client. Allows concurrent modification backend verification. |
Request Body
Appendix for Entity Structure and Entity Example.
Path Parameters
| Parameter | Description | Type/Value |
|---|---|---|
| accountId | LP site ID | String |
| userId | User ID | Positive long number greater than zero |
Query Parameters
| Name | Description | Type | Required | Notes |
|---|---|---|---|---|
| v | API version number | double | Required | Value should be 6.0 |
Response
Response Codes
| Code | Description |
|---|---|
| 200 | OK |
| 401 | Not Authenticated |
| 403 | Not Authorized |
| 404 | Not found |
| 500 | Internal Server Error |
Response Headers
| Header | Description |
|---|---|
| ac-revision | This parameter specifies the version of the data object retrieved. You can use the If-Match parameter in the request to retrieve a specifc version using this parameter's value.. |
Response Body
Appendix for Entity Structure and Entity Example.