Soft-deletes history records by setting forgotten=true. Three operation modes: (1) clearAll=true deletes ALL user history, (2) course_id deletes a conversation and detaches its favorites, (3) id deletes a single record. Favorites in a course are detached (course_id/course_name removed) rather than deleted.
JWT token passed in x-access-token header
Three mutually exclusive modes. Provide exactly one of: clearAll, course_id, or id.
When true, soft-deletes ALL non-forgotten history records for the user
true
Course identifier. Detaches favorites from the course (unsets course_id/course_name) then soft-deletes remaining course records.
1750532703472
ObjectId of a single history record to soft-delete
"688b024f7db6fe6e921399e3"