Skip to main content
PATCH
Update a sending account

Authorizations

Authorization
string
header
required

Sendmux API key. Use a root API key for Management API routes, or a mailbox credential for Mailbox API routes. Obtain keys from the dashboard under API Keys.

Headers

If-Match
string

Weak ETag from a prior GET. Reject with 409 conflict when the server's current ETag differs.

Path Parameters

public_id
string
required

Sending account public ID

Example:

"dprov_clxxxxxxxxxxxxxxxxxxxxxxxxx"

Body

application/json
from_email
string<email> | null
Maximum string length: 255
Example:

"sender@example.com"

from_name
string | null
Maximum string length: 255
Example:

"Acme"

name
string
Required string length: 1 - 255
Example:

"Transactional SMTP"

percentage
integer
Required range: 0 <= x <= 100
Example:

100

quotas
object
reply_to_email
string<email> | null
Maximum string length: 255
Example:

"support@example.com"

reply_to_name
string | null
Maximum string length: 255
Example:

"Support"

smtp_host
string
Required string length: 1 - 255
Example:

"smtp.example.com"

smtp_password
string
Required string length: 1 - 500
Example:

"new-smtp-password"

smtp_port
integer
Required range: 1 <= x <= 65535
Example:

587

smtp_protocol
enum<string>
Available options:
tls,
ssl,
none,
starttls
Example:

"starttls"

smtp_username
string
Required string length: 1 - 255
Example:

"api-user"

tracking_domain
string | null
Maximum string length: 255
Example:

"click.example.com"

Response

Updated sending account

meta
object
required
ok
enum<boolean>
required
Available options:
true
data
object
required