Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/openai/resources/beta/threads/threads.ts>Threads#del

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Latest
method Threads.prototype.del
import { Threads } from "https://deno.land/x/openai@v4.52.2/resources/beta/threads/threads.ts";

Delete a thread.

Parameters

threadId: string
optional
options: Core.RequestOptions

Returns

Core.APIPromise<ThreadDeleted>