Enable/disable alias
alias_set_enabledEnable or disable a SimpleLogin alias by ID to control whether it accepts incoming mail. Disabling blocks mail silently without deleting the alias.
Instructions
Set a SimpleLogin alias to a specific enabled state. Pass enabled=true to enable or enabled=false to disable. A disabled alias silently blocks incoming mail without being deleted. Idempotent: setting the state it is already in changes nothing. Returns the resulting enabled state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | Desired state: true to enable the alias, false to disable it. | |
| alias_id | Yes | Numeric id of the alias to update. |