Skip to main content
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.60.0/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>