Switch the mailer service for a domain
PUT/v1/domain/:domain/mailer
Switches the mailer service (e.g. SparkPost, Mailgun) a sending domain uses. Empty mailer_service resets to the tenant default. The target must be an active provider AND the domain must be DNS-verified for it.
Request
Path Parameters
domain stringrequired
Domain name
- application/json
Body
required
Target mailer service
mailer_service string
Responses
- 200
- 400
- 404
- 422
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
property name* any
{}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
success boolean
{
"error": "string",
"success": false
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
error string
success boolean
{
"error": "string",
"success": false
}
Unprocessable Entity
- application/json
- Schema
- Example (from schema)
Schema
error string
success boolean
{
"error": "string",
"success": false
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error string
success boolean
{
"error": "string",
"success": false
}
Loading...