This API deletes users from 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
DELETE https://{domain}/api/account/{accountId}/configuration/le-users/users

Request Headers

Header Description
Authorization Contains token string to allow request authentication and authorization.
If-Match Contains data revision as known by the client [OR] just keep -1. Allows concurrent modification backend verification.

Request Body

["987654321", "1232455"] These are latest userIds. Those can be fetched from DB (latest one) [OR] get from {get-all-users request}

Path Parameters

Parameter Description Type/Value
accountId LP site ID String

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 Data 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.