Deletes a specific AI thread.
Permission | Description |
---|---|
ai_threads.delete | Delete your own threads |
Name | Type | Required | Description | Example |
---|---|---|---|---|
thread-id | int | Yes | ID of the thread to delete | 123 |
DELETE /api/v1/ai/threads/123
Authorization: Bearer {token}
No content is returned when the thread is successfully deleted.
Status | Description | Reference |
---|---|---|
401 | Unauthorized | Authentication error |
403 | Forbidden (no permission) | Permission error |
404 | Not found | Not found error |