Files
Delete file
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-xxxxxExample
Example