DELETE
/
api
/
config
/
privacy
/
data-deletion
curl --request DELETE \
  --url https://app.traceloop.com/api/config/privacy/data-deletion \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "associationProperties": "<any>"
}'
{
  "requestId": "<string>"
}

You can delete traces data for a specific user of yours by specifying their association properties.

Request Body

associationProperties
JSON

A list of users to delete, each specific using a specific criterion for deletion like {userId: "123"}.

{
  "associationProperties": [
    {
      "userId": "123"
    }
  ]
}

Response

requestId
string

The request ID for this deletion request. You can use it to query the status of the deletion.