Skip to main content
DELETE
Error

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your provider API key or Bifrost authentication token. Virtual keys (prefixed with sk-bf-) can also be passed here.

Path Parameters

container_id
string
required

Container ID

file_id
string
required

File ID to delete

Query Parameters

provider
string

Provider for the container (defaults to openai)

Response

Successful response

Response from deleting a file from a container

id
string

The ID of the deleted file

object
string

The object type (always "container.file.deleted")

deleted
boolean

Whether the file was successfully deleted

extra_fields
object

Additional fields included in responses