Skip to main content
DELETE
/
api
/
v1
/
vault
/
delete_file
/
{file_id}
Delete a file from a Vault project
curl --request DELETE \
  --url https://api.harvey.ai/api/v1/vault/delete_file/{file_id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "File successfully deleted"
}

Documentation Index

Fetch the complete documentation index at: https://developers.harvey.ai/llms.txt

Use this file to discover all available pages before exploring further.

Permissions

Requires Vault API and Modify workspace projects permissions.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

file_id
string<uuid>
required

The unique identifier of the file to delete

Response

File successfully deleted

success
boolean
Example:

true

message
string
Example:

"File successfully deleted"