Skip to main content
 print this page

Delete a project thread

DELETE 

/ai/projects/:project_id/threads/:thread_id

Permanently deletes a thread, every message in it and every file attached to it, and drops it from the project's RecentThreads list. You need at least read-only access to the project. There is no undo and no soft delete. The call is idempotent only in the sense that a second attempt fails with a not-found error rather than deleting anything else.

Request

Responses

The thread, its messages and its files were deleted. The deletion has already completed when this returns.

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers
    Strict-Transport-Security