POST /visit/forget
This endpoint can be used to remove data for several visitors.
An incoming request is rejected if the source is identified as bot or spider, according to user-agent filtering rules from IAB/ABC. Kameleoon is using single-pass method. This means nothing specific is to be done in the case request is sent from a web browser using a standard library (XHR); but in other cases the user should set a custom value to the User-Agent request header, to overwrite the default value set by the library.
Query Parameters
- siteCode string required
Id of the Kameleoon project
- text/plain
Request Body required
List of visitor codes (Kameleoon unique id for a visitor) to remove/forget from our remote servers. Body size limited to 1 MB
- string UTF-8
1 visitor code per line.
Body example:
visitorCode1
visitorCode2
visitorCode3
- 204
- 400
- 401
- 403
- 413
- 429
- 500
Request is allowed, URL query was processed successfully, request body will be processed asynchronously, no content is returned in this response
Malformed request syntax
Failed authentication (missing token when required, bad token - malformed, expired, invalid signature)
Forbidden user-agent or access denied to restricted resource
Body too large
Rate limited
Unexpected internal error