Desk

Take a file off a reply before it is sent

Deletes the kept bytes of a file taken off a reply before it was sent.

delete/api/v1/mail/threads/{id}/attachments/{attachmentId}

Request

  • Base URL: http://localhost:5180
  • URL: http://localhost:5180/api/v1/mail/threads/{id}/attachments/{attachmentId}
  • Auth: API key in cookie better-auth.session_token

Path parameters

idstring required

Stable record id, e.g. lse_012.

attachmentIdstring required

Stable record id, e.g. lse_012.

Query parameters

messagestring required

The id the reply will be sent under, so the file sits beside it.

Response

The file is gone.

okunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.