Lift a block

.md

Let mail from a blocked sender through again.

Scopesmail:write
DELETE/v1/me/mail/blocked-senders/{id}

From then on mail from that sender is delivered again. What was refused while the block stood is not coming back: it was never stored.

The path takes the id from the list. A number there answers 404, like an entry that does not exist.

Request

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

Response

204, no body.

Errors

StatusCodeMeaning
403insufficient_scopeThis device does not hold mail:write
403forbiddenThe account does not hold manage_mailbox
404resource_not_foundNo blocked sender with that id here