Delete User
Delete a user session information by ID
Endpoint Details
DELETE
/users/purge/{userId}
Path Parameters
userId
string
Existing user ID, returned upon session creation or update
Headers
Content-Type
application/json
Authorization
Bearer <YOUR_ACCESS_TOKEN>
Response Details
statusCode
number
HTTP status code of the response
message
string
A brief message describing the result of the API call
data.deleted
boolean
States if delete succeded or not
data.message
string
Delete message
Metadata Object
languages
Array<string>
List of supported languages for the response, e.g. ["en"]
timestamp
string
Unix timestamp (in milliseconds) when the response was generated
timezone
string
Timezone used for the response, always "UTC"
requestId
string
Unique identifier for the API request. Used for debugging and support
path
string
API path
version
string
API version used for the request
Sample Request and Response
curl --location --request DELETE 'https://staging.api.liquidcommerce.cloud/users/purge/usrid_123abc456def' \
--header 'Authorization: Bearer <YOUR_ACCESS_TOKEN>'
{
"statusCode": 200,
"message": "Deleting a customer",
"metadata": {
"languages": [
"en"
],
"timestamp": 1731597745591,
"timezone": "UTC",
"requestId": "reqid_123abc45def",
"path": "/api/users/purge/usrid_123abc456def",
"version": "1.7.0"
},
"data": {
"deleted": true,
"message": "Customer data purged successfully"
}
}
Last updated