Skip to content

Remove a fixed email attachment

DELETE
/v1/tenants/me/settings/email-attachments/{attachmentId}
curl --request DELETE \
--url https://api.emite.cr/v1/tenants/me/settings/email-attachments/example \
--header 'Authorization: Bearer <token>'

Deletes the file for good: invoice emails sent from then on no longer carry it. Unlike adding or toggling one, removing is not gated by the plan (Feature.EMAIL_ATTACHMENTS), so a company that no longer has the feature can still delete what it uploaded. 404 for an attachment that is not the company's. Requires settings:write.

attachmentId
required
string

Attachment UUID

Attachment removed.

Missing or invalid JWT / API key.

Attachment not found.