Remove a forwarding address from a site
remove_site_email_forward_address
Takes one address off the forwarding addresses of a site, so mail sent to the site stops reaching it at once.
Scopeconfig:writeDestructive
The address can be added again later, and then needs a new confirmation unless it is confirmed at once. When it was the last confirmed address, mail sent to the site is dropped from then on, and the tool tells the client to say so. It also tells the client to confirm with you first.
It needs the Delete projects permission. See Forwarding addresses.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
projectId |
string | Yes | The site id. |
addressId |
string | Yes | The id of the forwarding address, from forwarding.recipients in get_site_email_settings. |