Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

Erase address on a mailbox

Removes an address's personal data from every inbound email of the mailbox that it sent or that names it, keeping the dedupe keys so a poll…

Removes an address's personal data from every inbound email of the mailbox that it sent or that names it, keeping the dedupe keys so a poll never brings the mail back.

  • Path POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mailboxes/mailbox:eraseAddress
  • Scope notify:write
  • Effect destructive — a successful call removes data; the CLI asks before it runs.
  • Collection mailboxes

#Request

FieldTypeWhat it is
namestringThe name of the mailbox. Required.
addressstringThe email address whose data is removed. Required.

#Response

FieldTypeWhat it is
erased_countint64How many inbound emails were scrubbed.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mailboxes/mailbox:eraseAddress" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"address":"…"}'