Delete client
delete_clientDelete a customer by id (soft-delete to bin). By default refuses when the client still has linked (non-deleted) quotes/invoices — matching delete_clients_bulk — so linked documents aren't orphaned. Pass force:true to override, or archive via update_client.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Client id of the client to delete. | |
| force | No | Delete even when the client still has linked (non-deleted) quotes/invoices. Default false: the delete is refused when links exist, so linked documents aren't orphaned (PROD-555). |