Delete all history
Delete every saved thread for one user.
Body·
required
application/json
- Type: stringuser
_id required
Responses
- application/json
- application/json
- 500
Miso could not read or write the history store. Retry, and keep what you have on screen — this is no longer reported as an empty list.
Request Example for post/v1/ask/user_history/delete_all
curl 'https://api.askmiso.com/v1/ask/user_history/delete_all?api_key=YOUR_SECRET_TOKEN' \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"user_id": "alice"
}'
{
"message": "success",
"data": {
"deleted_count": 42
}
}