v4
latestOpenAPI 3.1.02026-08-03427198448.4 KBThread Management
Delete Thread
Permanently deletes a thread and its dependent data.
This endpoint first deletes all messages for the thread to satisfy foreign key constraints, then deletes the thread itself. If the thread is using session storage, the session is closed and any persisted data is cleaned up by the session manager.
post/api/delete-thread/{thread_id}
Path parameters
thread_idstring required
The ID of the thread to delete
The ID of the thread to delete
Query parameters
user_idstring
org_idstring
Response
Successful Response
{"stackTrail":"paths:/api/delete-thread/{thread_id}:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}