Block/unblock alias contact
contact_set_blockedBlock or unblock email forwarding from a contact to an alias. Use blocked=true to stop mail or false to allow it, specifying the alias and contact IDs.
Instructions
Set whether forwarding from a contact to its alias is blocked. Pass blocked=true to stop mail from that contact reaching the user, or blocked=false to allow it again. Requires the alias_id (the contact belongs to it) so the current state can be read first: setting the state it is already in is a no-op. Returns the resulting block_forward state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blocked | Yes | Desired state: true to block forwarding from the contact, false to allow it. | |
| alias_id | Yes | Numeric id of the alias the contact belongs to. | |
| contact_id | Yes | Numeric id of the contact to block or unblock. |