CRM
Retire a lost reason
Retires a lost reason: it leaves the picker, while every deal already closed against it keeps its answer. It is never a row deletion and cannot be one — the deal’s lost-reason column is ON DELETE SET NULL, so removing the row would quietly blank «perché abbiamo perso» on every deal that named it. Ask the user to confirm.
Examples
- We no longer track that lost reason DELETE /api/v1/rest/crm/lost-reasons/44444444-5555-4666-8777-888888888888
delete/api/v1/rest/crm/lost-reasons/{id}
Request
- Base URL: https://api.custodo.ai
- URL: https://api.custodo.ai/api/v1/rest/crm/lost-reasons/{id}
- Auth: HTTP bearer
Path parameters
idstring uuid required
The lost-reason id, from crm_list_lookups or from the list crm_advance_deal returns when it needs one.
Headers
X-Tenant-Idstring uuid
The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.
Response
Done. data is the tool’s own answer.
Changes
No recorded changes to this operation across all 1 revision of this API.