Delete an inbox in the Dashboard
- Navigate to the inbox you want to delete.
- Click the Settings tab.
- Scroll to the bottom and click Delete.
- 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.