Delete all information from up to 1000 users in batch. This endpoint should be used in case a user would like to delete all their information from your and our systems (e.g. GDPR). Deletions are processed asynchronously; duplicate ids are deduplicated.
Default rate limit: 20 requests per minute.
POST
/user/delete-batch
curl \
--request POST 'https://api.lassomoderation.com/api/v1/user/delete-batch' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '"{\n \"user_ids\": [\n \"clczbfbhh0000sa90h45xv3cg\",\n \"clx0bg0g9000yu4zvb7e7o36t\"\n ],\n \"reason\": \"GDPR Deletion Request\"\n}"'
Request example
{
"user_ids": [
"clczbfbhh0000sa90h45xv3cg",
"clx0bg0g9000yu4zvb7e7o36t"
],
"reason": "GDPR Deletion Request"
}
Response examples (200)
{
"success": true,
"queued": 2
}
Response examples (400)
{
"success": false,
"error": {
"content_id": "Value can be at most 100 characters"
}
}
Response examples (401)
{
"success": false,
"error": "Invalid API key"
}
Response examples (409)
{
"success": false,
"error": "string"
}
Response examples (429)
{
"error": "Too many requests, check headers for limits"
}