For an overview of how the Chameleon API works, please first read this article.

First, a user and all associated data can be forgotten (deleted) by emailing help@trychameleon.com. This article covers how to remove users in an automated fashion, via Chameleon API

The response will contain a deletion  that will allow you to reference this to the Chameleon team in the future should there be any need.

Send a POST  or DELETE  request

  1. Use https://edit.trychameleon.com/profiles/delete_forever and Include a UID  that uniquely identifies the user in your database. OR
  2. https://edit.trychameleon.com/profiles/CHAMELEON_PROFILE_ID/delete_forever   if you know the specific profile ID that originated via Chameleon.

An example with a user that is identified in your system as 123 

curl -X POST -H "X-Account-Token: SECRET" https://edit.trychameleon.com/profiles/delete_forever?uid=123

Response:

{
  profile: {
    id: "590b80e5f433ea81b96c9bf6",
    uid: "123",
    ...
  },
  deletion: {
    id: "5490e6906535370002030021",
  }
}



An example when the user is 590b80e5f433ea81b96c9b6  in Chameleon using a DELETE  request (DELETE  or POST )

curl -X DELETE -H "X-Account-Token: SECRET" https://edit.trychameleon.com/profiles/590b80e5f433ea81b96c9bf6/delete_forever
Did this answer your question?