cURL
curl --request DELETE \ --url https://api.casparser.in/v4/inbound-email/{inbound_email_id} \ --header 'x-api-key: <api-key>'
{ "status": "success", "msg": "Mailbox deleted successfully" }
Permanently delete an inbound email address. It will stop accepting emails.
Note: Deletion is immediate and cannot be undone. Any emails received after deletion will be rejected.
Your API key for authentication. Use sandbox-with-json-responses as Sandbox key.
sandbox-with-json-responses
Inbound Email ID to delete
Mailbox deleted
"success"
"Mailbox deleted successfully"
Was this page helpful?