Update Email Config
Changes the sender, the SMTP settings or which connection is the default; a property left out keeps its value, a password left out keeps the stored one. The default is changed by making another connection the default.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The tenant code (the organisation's URL stub) |
The tenant code (the organisation's URL stub) |
||
| code* | path string | |
Request Body*
{
"fromEmail": "user@example.com",
"fromName": "string",
"isDefault": false,
"smtpSettings": {
"host": "string",
"port": 1,
"encryption": "...",
"requiresAuthentication": false,
"username": "string"
}
}
Responses
200 OK
401 Unauthorized – Invalid or missing API key