Skip to content
Get started

Delete File

DELETE/api/v1/beta/files/{file_id}

Delete a single file from the project.

Args: file_id: The ID of the file to delete project: Validated project from dependency db: Database session

Returns: None (204 No Content on success)

Path ParametersExpand Collapse
file_id: string
Query ParametersExpand Collapse
organization_id: optional string
project_id: optional string
Cookie ParametersExpand Collapse
session: optional string

Delete File

curl https://api.cloud.llamaindex.ai/api/v1/beta/files/$FILE_ID \
    -X DELETE \
    -H "Authorization: Bearer $LLAMA_CLOUD_API_KEY"
Returns Examples