Delete

Delete a partner.
This API endpoint allows to delete a partner by its code.

Permanently removes a partner entity from the system using the unique partner code.
Validates that the partner code is provided and not empty before processing deletion.
Performs deletion operation directly through the repository interface.
May trigger cascade operations to handle related data such as member associations and onboarding records.
Returns confirmation of successful deletion with the partner 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 for audit trail.
Important: Deletion may impact associated member records and should be handled carefully.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The code of the partner.

Responses

401

Authentication token is empty or invalid.

500

Internal server error occurred during deletion process.

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json