Contacts

Delete an anagrafica

Tombstones an anagrafica: the row and its history stay in the database, but it stops appearing anywhere, and the modules that kept work on it tidy up after it (the CRM archives its activities). REFUSED while another module still has live work on the party — the CRM’s open deals with it as customer, today — and the refusal names each blocking section and the call that clears it. Ask the user to confirm before calling this; to retire a customer who simply stopped buying, give it the role ex_cliente with anagrafiche_update_party instead.

Examples

  • Delete that duplicate record DELETE /api/v1/rest/anagrafiche/parties/11111111-2222-4333-8444-555555555555
delete/api/v1/rest/anagrafiche/parties/{id}

Request

  • Base URL: https://api.custodo.ai
  • URL: https://api.custodo.ai/api/v1/rest/anagrafiche/parties/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

The anagrafica’s id, from anagrafiche_search_parties or anagrafiche_get_party.

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.

oktrue required
dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.