curl --request POST \
--url https://app.sendmux.ai/api/v1/providers/{public_id}/deactivate \
--header 'Authorization: Bearer <token>'{
"ok": true,
"meta": {
"request_id": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx"
},
"data": {
"id": "dprov_clxxxxxxxxxxxxxxxxxxxxxxxxx",
"name": "Transactional SMTP",
"type": "smtp",
"status": "active",
"status_reason": "<string>",
"is_active": true,
"is_shared": true,
"is_editable": true,
"allowed_actions": {
"update": true,
"delete": true,
"activate": true,
"deactivate": true,
"test": true
},
"smtp_host": "<string>",
"smtp_port": 123,
"smtp_protocol": "<string>",
"smtp_username": "<string>",
"has_smtp_password": true,
"from_email": "<string>",
"from_name": "<string>",
"reply_to_email": "<string>",
"reply_to_name": "<string>",
"oauth_email": "<string>",
"has_refresh_token": true,
"quotas": {
"per_second": {
"min": 60,
"max": 60
},
"per_minute": {
"min": 60,
"max": 60
},
"per_hour": {
"min": 60,
"max": 60
},
"per_day": {
"min": 60,
"max": 60
}
},
"percentage": 100,
"tracking_domain": "<string>",
"created_at": "2026-05-25T02:18:00Z",
"updated_at": "2026-05-25T02:18:00Z",
"last_tested_at": "<string>",
"last_used_at": "<string>"
}
}Deactivate a sending account
Disables a sending account. The shared Amazon SES account can be deactivated.
curl --request POST \
--url https://app.sendmux.ai/api/v1/providers/{public_id}/deactivate \
--header 'Authorization: Bearer <token>'{
"ok": true,
"meta": {
"request_id": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx"
},
"data": {
"id": "dprov_clxxxxxxxxxxxxxxxxxxxxxxxxx",
"name": "Transactional SMTP",
"type": "smtp",
"status": "active",
"status_reason": "<string>",
"is_active": true,
"is_shared": true,
"is_editable": true,
"allowed_actions": {
"update": true,
"delete": true,
"activate": true,
"deactivate": true,
"test": true
},
"smtp_host": "<string>",
"smtp_port": 123,
"smtp_protocol": "<string>",
"smtp_username": "<string>",
"has_smtp_password": true,
"from_email": "<string>",
"from_name": "<string>",
"reply_to_email": "<string>",
"reply_to_name": "<string>",
"oauth_email": "<string>",
"has_refresh_token": true,
"quotas": {
"per_second": {
"min": 60,
"max": 60
},
"per_minute": {
"min": 60,
"max": 60
},
"per_hour": {
"min": 60,
"max": 60
},
"per_day": {
"min": 60,
"max": 60
}
},
"percentage": 100,
"tracking_domain": "<string>",
"created_at": "2026-05-25T02:18:00Z",
"updated_at": "2026-05-25T02:18:00Z",
"last_tested_at": "<string>",
"last_used_at": "<string>"
}
}Authorizations
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
Client-chosen unique key to safely retry the request. Cached for 24h per (team, endpoint, key). Different body with same key returns 409 idempotency_conflict.
255"providers-create-20260525-001"
Path Parameters
Sending account public ID
"dprov_clxxxxxxxxxxxxxxxxxxxxxxxxx"
Response
Updated sending account
true Hide child attributes
Hide child attributes
Sending account public ID
"dprov_clxxxxxxxxxxxxxxxxxxxxxxxxx"
Display name
"Transactional SMTP"
Sending account type. amazon_ses is the shared managed account.
smtp, gmail_api, outlook_api, amazon_ses "smtp"
Current sending account status.
active, inactive, error, pending "active"
Public-safe reason for the current status.
Whether this account is enabled for sending.
True for the team's shared Amazon SES account.
False when the account is platform-managed.
SMTP host for custom SMTP accounts.
SMTP port for custom SMTP accounts.
SMTP security mode.
SMTP username for custom SMTP accounts.
Whether a custom SMTP password is stored.
Default From email address.
Default From display name.
Default Reply-To email address.
Default Reply-To display name.
Connected account email for OAuth accounts.
Whether an OAuth account has an active connection token.
Hide child attributes
Hide child attributes
Routing weight percentage.
100
Custom tracking hostname.
ISO 8601 creation timestamp
"2026-05-25T02:18:00Z"
ISO 8601 last update timestamp
"2026-05-25T02:18:00Z"
Last connection test timestamp.
Last send timestamp.
Was this page helpful?