API Reference

Delete an evangelist by code.

Delete an evangelist. Use this endpoint to delete an evangelist by its code.

Permanently removes an evangelist entity from the system using the unique evangelist code. Validates that the evangelist code is provided and not empty before processing deletion. Performs soft or hard deletion depending on system configuration and business requirements. May trigger cascade operations to handle related data such as member associations and rewards. Returns confirmation of successful deletion with the evangelist code for audit purposes. Consider implementing CQRS pattern for better separation of concerns and event sourcing. Note: Current implementation uses direct repository deletion - consider adding domain events.

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!