delete
https://api.duodeal.app/api/customers/
Permanently deletes a customer by its ID.
Note: A customer can only be deleted if they have no linked deals. Check the isDeletable field in the GET response to verify if deletion is possible.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Customer unique identifier |
Response
204 No Content: Customer successfully deleted400 Bad Request: Cannot delete customer with linked deals401 Unauthorized: Invalid or missing API key404 Not Found: Customer not found
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
204Resource deleted
401Unauthorized
404Resource not found
