Skip to content

Anonymize profiles

POST
/profiles/anonymize
api.funnelfox.io

Permanently removes personally identifiable information (PII) from one or more profiles and all of their sessions. Built for GDPR/CCPA “right to erasure” requests.

To trigger the endpoint, pass an object containing the profile IDs in the request body.

The operation runs in a single transaction and is all-or-nothing: if any profile ID is unknown or belongs to another project, nothing is changed and a 404 is returned.

Clears each profile’s email, phone number, and stored password hashes, and wipes the IP address, user agent, submitted form answers, postal code, and tracking cookies from every associated session. Transactions and subscriptions are retained.

Fox-Secret
required
string

Example: secret_

Project Secret Key

Media typeapplication/json
object

Profile IDs to anonymize. Provide between 1 and 100 IDs.

Array<string>
1–100 items

Example

[
"01H8XGJWBWBAQ4ZZ1Q5Z9Z9Z9"
]

200 Profiles anonymized

Section titled “200”
Media typeapplication/json
object
message
required
string

400 Request error

Section titled “400”
Media typeapplication/json
object
message
required
string

401 Authentication error

Section titled “401”
Media typeapplication/json
object
message
required
string

404 One or more profiles not found

Section titled “404”
Media typeapplication/json
object
message
required
string
not_found

Profile IDs that were not found or belong to another project. Nothing was changed.

Array<string>