Save event email settings for one context and mode
Creates or replaces event email settings for the given context and mode, using the same upsert logic as POST /{context}/{mode} — both routes invoke the identical service operation. Both context and mode are matched against a case-sensitive route pattern — other casings return 404 at the routing layer before this operation executes. The same request body constraints apply: typeSettings should cover all six event types (not enforced by the server); enabled types require non-blank template.subject and template.bodyHtml. recipientPreferences are stored at context scope and affect both modes. Prefer POST for first-time creation; use this method when a PUT is semantically more appropriate for your client. Returns the full updated settings record.
Path parameters
Context (practitioner or facility)
Mode (credentialing or recredentialing)
Organization identifier that scopes this request to a specific organization's event email settings. Path segment; opaque string, no enforced format.
Headers
Tenant identifier of the requesting caller. Required on every request; opaque string, no enforced format.
Request body
Response
The full event email settings record after the create/replace, including resolved recipient preferences, ccEmail, logoUrl, logoWidth, and per-type template settings.