Update SMTP user
Updates an existing SMTP user configuration
Authorizations
API key for account management endpoints. Use your api_ prefixed token.
Body
Current SMTP username to update
"existing-user"
New SMTP username (will be sanitized to lowercase alphanumeric with hyphens)
1 - 64^[a-z0-9-]+$"new-user-name"
New password
8 - 72"newSecurePassword123"
Whether to allow sending from any domain (requires paid subscription). Cannot be enabled together with allowAllDomains.
false
Whether to allow sending from all verified domains. Cannot be enabled together with allowAnyDomain.
false
List of approved domains for sending
253^(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?.)+[a-zA-Z]{2,}$Email sending quota
x >= 01000
List of allowed IP addresses
50^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$IP-based SMTP authentication address (requires paid subscription). A single IPv4 (no CIDR) bound to this account; must be globally unique across all accounts. Username and password are still required. Pass null or empty string to clear it.
^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"1.1.1.1"
Free-form tags used to organise/filter SMTP users. Replaces the existing set; trimmed and de-duplicated (case-insensitive) server-side. Pass [] to clear all tags.
2032^[\w- ]+$Status of the SMTP user
inactive, active, suspended, quota-locked, quota-unlocked