Delete a note

.md

Take a remark off a conversation.

Scopesmail:write
DELETE/v1/me/mail/notes/{id}

No bin and no undo. A note is a sentence somebody typed, it was never mail, and nothing in the exchange depends on it. Ask on screen first if you like; the server does not.

Your own, or anybody's with manage_mailbox.

Request

curl -X DELETE https://api.proppertrading.com/v1/me/mail/notes/mnote_r8t4k2n7q3w9x5hb \
  -H "Authorization: Bearer ptat_9f2c1a44_3b8e7d2f5c9a1b4e6d8f0a2c4e6b8d1f"

Response

204, with no body.

Errors

StatusCodeMeaning
403insufficient_scopeThis device does not hold mail:write
403not_your_noteSomebody else wrote it and you do not hold manage_mailbox
404resource_not_foundNo note with that id in a mailbox you can read. A number in the path finds none either