Delete threads

Delete specific threads using the opaque id values from the list endpoint. Deletes are reversible on our side but disappear immediately from every read.

Body·
required
application/json
  • thread_ids
    Type: array string[] Format: uuid
    required

    The threads to delete, by root question id. The same value /thread, /thread/rename and the update endpoints take.

  • user_id
    Type: string
    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
curl 'https://api.askmiso.com/v1/ask/user_history/delete?api_key=YOUR_SECRET_TOKEN' \
  --request POST \
  --header 'Content-Type: application/json' \
  --data '{
  "ids": [
    "3xK7mN",
    "9pQ2rS"
  ],
  "user_id": "alice"
}'
{
  "message": "success",
  "data": {
    "deleted_count": 2
  }
}