E034: Delete contact
DELETE /api/contacts/:id
Removes a contact and detaches it from every entity it was linked to. Triggered from a contact edit modal.
Authentication
Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Member.
Request
No body. Cascades to contact methods and links.
Response — 200 OK
{ "deletedId": "uuid" }
Echo of the deleted contact's id.
Errors
| HTTP | code | Condition |
|---|---|---|
| 404 | not_found | No such contact. |
Workflow
Calls W034 Delete contact.