Skip to main content

Delete Customer Document

DELETE 

/api/customers/:customer/documents/:document

Permanently deletes a file, its stored copy and every link to it — if the file is also attached to another record it is removed from that record too. Answers 404 when the file is not attached to this customer.

Required scope: customers:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Requires the customers:read scope (list, download) or customers:write scope (upload, update, delete), and permission to view or edit customers. A user limited to their own customers gets 404 for any other customer.

Authentication: Requires Bearer token.

Request​

Responses​

OK

Response Headers
    Content-Type