Update Email Config
Updates an existing email configuration. Supports updating provider settings (SMTP or OAuth), display name (FromName), and flags (IsDefault, IsSendShared, IsReadShared). User must be the owner or an admin. Only admins can change IsDefault. Only the owner can change IsReadShared or ReadEnabled — including admins.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
| code* | path string | |
Request Body*
{
"fromEmail": "string",
"fromName": "string",
"isDefault": false,
"isSendShared": false,
"isReadShared": false
}
Responses
200 OK
400 Bad Request
401 Unauthorized – Invalid or missing API key
404 Not Found