API Docs / Operations / Email - Configs / Update Email Config

Update Email Config

PUT /tenants/{tenant}/email-configs/{code}

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 the config must be shared. Only the owner can change IsReadShared.

Parameters

NameTypeDescription
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

400 Bad Request
401 Unauthorized – Invalid or missing API key
404 Not Found