v1

latestOpenAPI 3.0.12026-07-22231676.5 KB
Vault

Delete a file from a Vault project

Enables authorized organizations to remove an existing file from a Vault project. The endpoint verifies that the file exists and that the requesting user belongs to the file's workspace before proceeding with the deletion. In cases where deletion cannot be immediately completed (for example, if there are pending jobs associated with the file), the API responds with a conflict status. On success, the system logs an audit event and returns confirmation of the deletion.

delete/api/v1/vault/delete_file/{file_id}

Path parameters

file_idstring uuid required

The unique identifier of the file to delete

Response

File successfully deleted

successboolean
messagestring

Example response

{
  "success": true,
  "message": "File successfully deleted"
}