- An account owner or belongs to one or more accounts.
- The bot owner or co-developer for one or more bots.
Path Parameters
Sample Request
Body Parameters
To check the execution status of this request, use the Delete Customer Data Status API.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
| Property | Value |
|---|---|
| Method | DELETE |
| Endpoint | https://{{host}}/api/public/bot/eraseUsersData |
| Content Type | application/json |
| Authorization | auth: {{JWT}} — See How to generate the JWT Token. |
| API Scope | App Builder: Not Applicable; Admin Console: Profile Management > Delete Users Data |
| Parameter | Description |
|---|---|
host | Environment URL, for example, https://platform.kore.ai |
curl -X DELETE \
'https://{{host}}/api/public/bot/eraseUsersData' \
--header 'Content-Type: application/json' \
--header 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \
--data '{
"userIds": ["u-xxxxxxxx-xxxx-xxx-xxxx-xxxxxxxxxxx"],
"botIds": ["st-xxxxxxxx-xxxx-xxx-xxxx-xxxxxxxxxxxx"],
"RemoveDataFromAllBots": true
}'
| Parameter | Description |
|---|---|
userIds | Array of user IDs to delete. Accepts Kore-generated user IDs (email or u-id), channel_user_id, or both channel_id and channel_user_id. |
botIds | Array of AI Agent IDs from which to delete user data. Effective only when RemoveDataFromAllBots is false. |
RemoveDataFromAllBots (optional) | If true, deletes user data from all AI Agents in the organization and ignores botIds. Defaults to false. |
{
"requestId": "eud-123",
"status": "in-progress"
}
Was this page helpful?