Skip to content
Letta Platform Letta Platform Letta Docs
Sign up

Delete File From Folder

DELETE/v1/folders/{folder_id}/{file_id}

Delete a file from a folder.

Path ParametersExpand Collapse
folder_id: string

The ID of the source in the format ‘source-

minLength43
maxLength43
file_id: string

The ID of the file in the format ‘file-

minLength41
maxLength41

Delete File From Folder

curl https://api.letta.com/v1/folders/$FOLDER_ID/$FILE_ID \
    -X DELETE \
    -H "Authorization: Bearer $LETTA_API_KEY"
Returns Examples