Skip to Content
HelvetlyDocs
API referenceClients

Delete a client file

Needs a token with the write:clients scope. Authentication

Try in Playground sends a real request to app.helvetly.com with a token you paste. It stays in this browser tab only (session storage) and goes to no one else.

DELETE
/api/v1/clients/{id}/files/{file_id}

Moves the file to the Documents Trash (restorable there for 30 days). A file that is a business record linked to a booked invoice or expense is kept: 409 retained. 204 on success.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A personal API token, hvt_…, with scopes such as read:* or write:invoices

Path Parameters

id*string

The client's id.

file_id*string

The file's id.

Response Body

No content

Example Request
curl -X DELETE 'https://app.helvetly.com/api/v1/clients/string/files/string'
Example Response
Empty