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 an admin. Only admins can change IsDefault. Only the owner can change IsReadShared or ReadEnabled — including admins.

Requires: Update on EmailConnections.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

code* path string

Request Body*

{
  "fromEmail": "string",
  "fromName": "string",
  "isDefault": false,
  "isSendShared": false,
  "readSharing": "Private"
}

Responses

400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found