Sign in

Delete file

documented

Delete a file.

DELETE /files/{file_id}Filesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.openai.com/v1/files/{{$file_id}}" \
  -X DELETE \
  -H "Authorization: Bearer {{OPENAI_API_KEY}}" \
  -H "Accept: application/json"
Delete file · OpenAI · OpenIntegrations