DELETE
/
api
/
v1
/
vault
/
delete_file
/
{file_id}
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"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

file_id
string
required

The unique identifier of the file to delete

Response

200
application/json

File successfully deleted

The response is of type object.