Overview
Permanently delete an endpoint and clean up all associated resources. This action cannot be undone. The endpoint will be removed and all associated email addresses and domains will be updated accordingly.Authentication
Bearer token for API authentication. Format:
Bearer YOUR_API_KEY
Path Parameters
The unique identifier of the endpoint to delete.
Response
Response Fields
Confirmation message that the endpoint was deleted successfully.
Details about the cleanup operations performed during deletion.
Examples
Delete Webhook Endpoint
Delete Email Group Endpoint
Error Responses
401 Unauthorized
401 Unauthorized
404 Not Found
404 Not Found
500 Internal Server Error
500 Internal Server Error
What Happens During Deletion
1
Email Address Cleanup
All email addresses that route to this endpoint are updated to “store only” mode. They will continue to receive emails but won’t be forwarded or sent to webhooks.
2
Domain Catch-All Updates
Any domains using this endpoint for catch-all routing will have their catch-all configuration removed.
3
Email Group Cleanup
If this is an email group endpoint, all email addresses in the group are deleted from the group table.
4
Delivery History Cleanup
All delivery history records associated with this endpoint are permanently deleted.
5
Endpoint Deletion
Finally, the endpoint itself is deleted from the system.
Important Considerations
This action cannot be undone. Once an endpoint is deleted, all its configuration and delivery history are permanently lost.
Email addresses affected by the deletion will continue to receive emails in “store only” mode. You can later configure them to route to a different endpoint.
Before deleting an endpoint, consider disabling it first using the update endpoint to test the impact on your email routing.
Impact on Email Routing
Email Addresses
Emails will be stored but not forwarded or sent to webhooks
Catch-All Domains
Unknown emails to these domains will be stored but not routed
Best Practices
Before Deletion
- Review dependencies - Check which email addresses and domains use this endpoint
- Test impact - Disable the endpoint first to see the impact
- Backup configuration - Save endpoint configuration if you might need to recreate it
- Plan migration - Set up replacement endpoints for affected email addresses
After Deletion
- Update email addresses - Configure affected email addresses to route to new endpoints
- Update catch-all domains - Configure new catch-all endpoints for affected domains
- Monitor email flow - Ensure emails are being routed correctly to new endpoints
- Clean up unused resources - Remove any other resources that depended on this endpoint
Cleanup Response Breakdown
The cleanup response helps you understand what was affected:Shows which email addresses were set to “store only” mode and need to be reconfigured with new endpoints.
Recovery Options
Recreate Endpoint
Recreate Endpoint
You can create a new endpoint with the same configuration, but it will have a new ID and no delivery history.
Migrate Email Addresses
Migrate Email Addresses
Use the update email address endpoint to point affected addresses to new endpoints.
Restore Catch-All
Restore Catch-All
Update domain catch-all configurations to point to new endpoints.
Documentation Verification
API Implementation Verified - This documentation has been verified against the actual API implementation at
/api/v2/endpoints/{id}
(DELETE method). All endpoints, response fields, error codes, and behavior descriptions match the current implementation.