Skip to content

ai chat assistant file delete

The ai chat assistant file delete command deletes an OpenAI Assistant file.

Usage

ai chat assistant file delete [...]

Options

Option Description
--endpoint ENDPOINT Specifies the endpoint to use.
--key KEY Specifies the key to use.
--id ID Specifies the id of the file to delete.

Example

Deleting a file using its ID
ai chat assistant file delete --id assistant-rWdFtg0oCGtlZFZzZGC3rGhQ