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

The ID of the container

file_id
string
required

The ID of the file to delete

Query Parameters

provider
enum<string>
required

The provider of the container AI model provider identifier

Available options:
openai,
azure,
anthropic,
bedrock,
cohere,
vertex,
vllm,
mistral,
ollama,
groq,
sgl,
parasail,
perplexity,
replicate,
cerebras,
deepseek,
gemini,
openrouter,
elevenlabs,
huggingface,
nebius,
xai,
runway,
fireworks

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