contact_information:delete
Description: Delete a contact information record (email, phone number, website, fax) by ID.
Contact informations are attached to a contactable record (person, household, or organization). Use this message to remove a wrong or duplicated email/phone — for example a phone number entered twice.
Request Schema
{
"payload": {
"type": "contact_information:delete",
"id": 123
},
"signature": "payload_ed25519_hex_signature",
"source_public_key": "your_client_public_key"
}
Request Attributes
- See global request attributes
-
payload.id- Integer - The contact information ID to delete - Compulsory
Note: contact informations are resolved by their internal Arkipel
idonly — there is noimport_idon contact information records. Theidmust belong to the target account.
Response Schema
{
"source_public_key": "community_public_key",
"source_site": {
"protocol": "http",
"fqdn": "arkipel.localhost:3000"
},
"created_at": "2025-11-13T20:52:49Z",
"signature": "8b6392d5550605bd6ccddf9c21ebec470de4b44e4b4deb746076e37ab61c5346e07e7c7c7cebb5bbee41cdd92a476bcd3f02373d146ec165b31c31fc31c9ce0d",
"payload": {
"message_id": "6916452112f746b2b4cf48c1",
"type": "contact_information:delete"
}
}
Async Processing
This is an asynchronous mutation. Use arkipel_messages:query with the returned message_id to check the deletion status:
-
persisted— the contact information was deleted -
failed— the deletion failed;last_errorcarries the reason
Error Cases
| Case | Result |
|---|---|
id missing | Message failed — Missing required field: id must be provided for contact information deletion
|
id not found (or belongs to another account) | Message failed — Couldn't find ContactInformation with 'id'=…
|
id of a contact information in another account | Message failed — records are resolved account-scoped, cross-account deletions are not possible |
Deletion Behavior
- Hard delete: the record is permanently removed — there is no soft delete and no undo for contact informations.
- Main re-assignment: when the deleted record was the main one of its type and another record of the same type exists on the contact, the first of them is promoted to main. Deleting the last phone number does not promote an email (and vice versa) — main promotion is per contact type.
- Per-type uniqueness: email addresses are unique per contactable — deleting a duplicate email lets you re-create it afterwards.
Contact Types Supported
-
Email- Email addresses -
PhoneNumber- Landline phone numbers -
CellNumber- Mobile phone numbers -
Website- URLs and web links -
FaxNumber- Fax numbers
Use Cases
- Contact Updates: Remove old email addresses or phone numbers
- Data Quality: Remove invalid or duplicate contact records (e.g. a phone number entered twice)
- Privacy Compliance: Delete contact info per GDPR/data deletion requests
Related Messages
-
people:upsert- Create/update people with nested contact information -
households:upsert- Create/update households with contact information -
organizations:upsert- Create/update organizations with contact information -
person:delete- Delete a person (deletes associated contacts) -
household:delete- Delete a household -
organization:delete- Delete an organization
Return to API Specifications