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

x/openai/resources/mod.ts>Uploads#cancel

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

Cancels the Upload. No Parts may be added after an Upload is cancelled.

Parameters

uploadId: string
optional
options: Core.RequestOptions

Returns

Core.APIPromise<Upload>