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
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.
bearerAuthheader
AuthorizationBearer <token>A personal API token, hvt_…, with scopes such as read:* or write:invoices
id*stringThe client's id.
file_id*stringThe file's id.
No content
curl -X DELETE 'https://app.helvetly.com/api/v1/clients/string/files/string'Example Response
Empty