Skip to content

Delete File

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

Delete a file from the project.

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