Contacts
Delete an address
Removes one address from an anagrafica for good — a real delete, not a tombstone, and the audit entry is the only copy left. Use it for a site that has closed; to correct an address that is simply wrong, call anagrafiche_set_address instead. Ask the user to confirm before calling this.
Examples
- That delivery site has closed, remove it DELETE /api/v1/rest/anagrafiche/parties/11111111-2222-4333-8444-555555555555/addresses/66666666-7777-4888-8999-aaaaaaaaaaaa
delete/api/v1/rest/anagrafiche/parties/{id}/addresses/{address_id}
Request
- Base URL: https://api.custodo.ai
- URL: https://api.custodo.ai/api/v1/rest/anagrafiche/parties/{id}/addresses/{address_id}
- Auth: HTTP bearer
Path parameters
idstring uuid required
The anagrafica’s id, from anagrafiche_search_parties or anagrafiche_get_party.
address_idstring uuid required
From anagrafiche_get_party, which lists the party’s addresses with their ids.
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.