remove_party_phone_number_by_id
Remove a phone number entry from a party by its unique row ID. Atomic, reversible, and idempotent on retry.
Instructions
Remove one phone-number entry from a party by its row id. Atomic and reversible — no confirm: true gate (re-add with add_party_phone_number). Discover the id via get_party. Idempotent on retry: response is {removed: true, alreadyRemoved: false, partyId, phoneNumberId, party} on a fresh remove or {removed: true, alreadyRemoved: true, partyId, phoneNumberId} if the row was already gone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| partyId | Yes | ||
| phoneNumberId | Yes | Capsule's id for the phone-number row. Read it from get_party (each entry in phoneNumbers carries an id). |