Skip to main content
DELETE
Delete a file from OpenAI’s storage. This is useful for cleanup and managing storage costs.
Important: Deleting a file is permanent and cannot be undone. Make sure you no longer need the file or have downloaded its contents before deletion.
Customer credentials required: This endpoint requires your own OpenAI API key configured in Keywords AI dashboard (Settings → Providers).

Path parameters

string
required
The unique identifier of the file to delete. Format: file-xxxxx

Response

Returns a confirmation object indicating the file was deleted.