---
title: "Remove data for several visitors"
method: POST
path: "/visit/forget"
tags: ["Visit"]
---

# Remove data for several visitors

`POST /visit/forget`

Remove data for multiple visitors.

Kameleoon rejects an incoming request if the source is a bot or spider, based on [IAB/ABC user-agent filtering rules](https://www.iab.com/guidelines/iab-abc-international-spiders-bots-list/).
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

- `siteCode` string, required

## Headers

- `user-agent` string, required

## Response `202`

Kameleoon processed the URL query and accepted the request. The response returns no content. <br/> <b>Kameleoon processes the body asynchronously and has not checked the body syntax yet.</b>

## Other responses

- `400` — Malformed URL query syntax.
- `401` — Authentication failed. Either the HTTP header value is malformed, or the token is missing or invalid (malformed, expired, or invalid signature).
- `403` — Access denied. Forbidden user-agent or restricted resource.
- `413` — The body is too large.
- `429` — Kameleoon rate-limited the request.
- `500` — An unexpected internal error occurred.

---

[API](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api.md) · [All operations](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kameleoon/openapi-definition-for-automation-api/revisions/09f2abcea0b5/schema)
