Delete user

POST /user/delete

Delete all information from a specific user. This endpoint should be used in case a user would like to delete all their information from your and our systems (e.g. GDPR).

application/json

Body

  • user_id string Required

    The id of the user your would like to delete

  • 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
POST /user/delete
curl \
 -X POST https://api.lassomoderation.com/api/v1/user/delete \
 -H "Content-Type: application/json" \
 -H "Authorization: Bearer lasso.a35afd...a6ea" \
 -d '{"reason":"GDPR Deletion Request","user_id":"clczbfbhh0000sa90h45xv3cg"}'
Request example
{
  "reason": "GDPR Deletion Request",
  "user_id": "clczbfbhh0000sa90h45xv3cg"
}
Response examples (200)
{
  "success": true
}