Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/files.ts>Files#del

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
method Files.prototype.del
import { Files } from "https://deno.land/x/openai@v4.64.0/resources/files.ts";

Delete a file.

Parameters

fileId: string
optional
options: Core.RequestOptions

Returns

Core.APIPromise<FileDeleted>