Remove data for several visitors
Remove data for multiple visitors.
This endpoint always requires authentication. Send a bearer token in the Authorization header, and call the endpoint from your servers, never from a browser.
Kameleoon rejects an incoming request if the source is a bot or spider, based on IAB/ABC user-agent filtering rules.
Kameleoon uses a single-pass method. You don’t need to take specific action when sending requests from a web browser using a standard library (XHR). However, in other cases, set a custom value for the User-Agent request header to overwrite the default value the library sets.
Authorizations
OAuth 2.0 access token (JSON web token). Get one with the same flow as the Automation API: https://docs.kameleoon.com/developer-docs/apis/automation-api-rest/get-started/get-started#authentication
Headers
Not always required. Kameleoon rejects an incoming request if the source is a bot or spider, based on IAB/ABC user-agent filtering rules.
Kameleoon uses a single-pass method. You don't need to take specific action when sending requests from a web browser using a standard library (XHR). However, in other cases, set a custom value for the User-Agent request header to overwrite the default value the library sets.
Query Parameters
ID of the Kameleoon project
Body
A list of visitor codes (unique Kameleoon visitor IDs) to remove. The body size limit is 1 MB.
Include one visitor code per line.
Limit every visitor code to 100 characters.
Body example:
The body is of type string<UTF-8>.
Response
Kameleoon accepted the request and returns no content. Kameleoon processes the body asynchronously, so it has not checked the body syntax yet. A 202 response doesn't confirm that the body is valid.