Add or remove a mailbox alias
eurodns_email_set_aliasAdd or remove an email alias for a subscription. Manage specific addresses for a mailbox by specifying the alias and action.
Instructions
Adds (action: add) or removes (action: remove) the address in alias, which delivers into the mailbox of the email subscription id, and returns the updated subscription. Use it for one named extra address; to accept every unknown address at the domain use eurodns_email_set_catchall instead. Removing an alias bounces mail sent to it from then on. The subscription id comes from eurodns_subscription_get for product email.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"alias": "<alias>",
"action": "<action>"
},
"name": "eurodns_email_set_alias"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric id of the email subscription, from eurodns_subscription_get with product email and no id. | |
| alias | Yes | The alias address for the mailbox, e.g. sales@example.com. | |
| action | Yes | add creates the alias; remove deletes it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Response body as returned by the API. | |
| status | Yes | Upstream HTTP status code. |