Muse MuseConcept
Dashboard

Independent concept built on Meta's Model API. Not an official Meta product.

Delete a file

View on dev.meta.ai (opens in a new tab)

Delete a previously uploaded file by its ID.

DELETE /files/{file_id}

Delete an uploaded file.

Parameters

Path parameters

FieldTypeRequiredDescription
file_idstringYesIdentifier of the file to act on.

Response

HTTP 200: OK

Content Type: application/json

DeleteFileResponse

python
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.meta.ai/v1",
    api_key=os.environ["MODEL_API_KEY"],
)

response = client.files.delete("file_abc123")

print(response.model_dump_json(indent=2))

For supported file types and how to reference files in requests, see the Files feature page.

Mirrored from dev.meta.ai/docs/api-reference/files/delete-file (synced Oct 30, 2026). Text and examples © Meta. Live demos run on Muse Muse's key.

Esc

Loading...