POST /user/delete-batch

Delete all information from a specific 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).

Headers

application/json

Body

  • user_ids array[string] Required

    The ids of the user your would like to delete

    At least 0 but not more than 1000 elements.

  • reason string

    In case you want to give it a reason. e.g. GDPR request

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • success boolean
POST /user/delete-batch
curl \
 --request POST 'https://api.lassomoderation.com/api/v1/user/delete-batch' \
 --header "Content-Type: application/json" \
 --header "Authorization: Bearer lasso.a35afd...a6ea" \
 --data '{"user_ids":["clczbfbhh0000sa90h45xv3cg","clx0bg0g9000yu4zvb7e7o36t"],"reason":"GDPR Deletion Request"}'
Request example
{
  "user_ids": [
    "clczbfbhh0000sa90h45xv3cg",
    "clx0bg0g9000yu4zvb7e7o36t"
  ],
  "reason": "GDPR Deletion Request"
}
Response examples (200)
{
  "success": true
}