Update inbound domain settings
Updates the configuration of an inbound domain. Mode-specific fields are strictly enforced: smtp_servers is only allowed when the effective delivery_type is smtp, the webhook_* fields are only allowed when it is webhook, and forward accepts neither. The “effective” type is the new delivery_type if you are changing it in this request, otherwise the current one. Sending fields from the wrong mode returns 400. The forward_*_verified DNS flags are read-only and cannot be set via this endpoint.
Authorizations
API key for account management endpoints. Use your api_ prefixed token.
Path Parameters
UUID of the inbound domain
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$Body
Any subset of the listed fields. At least one updatable field is required; sending an empty body returns 400.
Domain status. "disabled" causes inbound-edge to stop accepting mail for the domain.
active, disabled Switch the domain's delivery mode. The body may also include the new mode's fields in the same request.
smtp, webhook, forward Only for delivery_type=smtp. Rejected with 400 if sent on a webhook or forward domain.
"mail.example.com:25"
Only for delivery_type=webhook. Rejected with 400 if sent on an smtp or forward domain. Pass null to clear.
"https://example.com/webhook/inbound"
Only for delivery_type=webhook. Rejected with 400 if sent on an smtp or forward domain.
POST, PUT Only for delivery_type=webhook. Rejected with 400 if sent on an smtp or forward domain. Pass null to clear.
Only for delivery_type=webhook. Rejected with 400 if sent on an smtp or forward domain.
Only for delivery_type=webhook. Rejected with 400 if sent on an smtp or forward domain.
Only for delivery_type=webhook. Rejected with 400 if sent on an smtp or forward domain.