Update Email Config
Updates an existing email configuration. Supports updating provider settings (SmtpSettings), display name (FromName), and flags (IsDefault, IsShared). User must be the owner or the config must be shared.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
| code* | path string | |
Request Body*
{
"fromEmail": "string",
"fromName": "string",
"isDefault": false,
"isShared": false,
"smtpSettings": {
"host": "string",
"port": 0,
"encryption": "...",
"requiresAuthentication": false,
"username": "string"
}
}
Responses
200 OK
400 Bad Request
401 Unauthorized – Invalid or missing API key
404 Not Found