Remove a contact
remove_contactRemove a contact from the local roster locally. The contact may reappear if auto-add is active; disable auto-add for permanent removal.
Instructions
Drop a contact from the local node's roster. Local-only — does not tell any other node. The contact may reappear if its advert is heard again under auto-add mode; combine with set_auto_add_contacts { autoAdd: false } for a sticky removal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | contact name or hex public-key prefix to remove |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| publicKey | Yes |