DELETE
/
api
/
config
/
pii
/
tracing-allow-list
curl --request DELETE \
  --url https://app.traceloop.com/api/config/pii/tracing-allow-list \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "associationProperty": {}
}'

By default, all prompts and responses are logged. If you’ve disabled this behavior by following this guide, and then selectively enabled it for some of your users then you can use this API to disable it for previously enabled ones.

Request Body

associationProperty
Associated Property Object

A single association property (like {userId: "123"}) that was previously allowed to be logged.

Example:

{
  "associationProperty": {
    "userId": "123"
  }
}