Comparing email previews providers? Discover our new pricing options - chat to sales or book a demo to unlock your savings now
InboxesDelete an inbox

Delete an inbox

Deleting an inbox permanently removes it and all of its messages. This action cannot be undone.

Delete an inbox in the Dashboard

  1. Navigate to the inbox you want to delete.
  2. Click the Settings tab.
  3. Scroll to the bottom and click Delete.
  4. Confirm the deletion.

Delete an inbox via the API

Send a DELETE request to the servers endpoint:

curl -X DELETE \
  -u "key:YOUR_API_KEY" \
  "https://mailosaur.com/api/servers/SERVER_ID"

Replace YOUR_API_KEY with your API key and SERVER_ID with the inbox ID.

Inbox-restricted API keys cannot delete inboxes. Use a standard API key for this operation.

What happens when you delete an inbox

  • All messages in the inbox are permanently deleted.
  • Any phone numbers linked to the inbox are unlinked.
  • Any forwarding rules configured on the inbox are deleted.
  • The inbox's unique domain and ID are released and cannot be recovered.