mail.update

Update Mail Service Configuration.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: data

data

Type: object

Mail configuration fields to update.

No Additional Properties

Fromemail

Type: string

The sending address that the mail server will use for sending emails.

Fromname

Type: string

Outgoingserver

Type: string

Hostname or IP address of the SMTP server used for sending emails.

Port

Type: integer

Security

Type: enum (of string)

Type of encryption.

Must be one of:
  • "PLAIN"
  • "SSL"
  • "TLS"

Smtp

Type: boolean

Whether SMTP authentication is enabled and user, pass are required.

User


SMTP username.

Type: string
Type: null

Pass


SMTP password.

Type: string
Type: null

Oauth


MailEntryOAuth

Type: object
No Additional Properties

Provider

Type: string

An email provider, e.g. "gmail", "outlook".

Client Id

Type: string

Client Secret

Type: string

Refresh Token

Type: string

EmptyDict

Type: object
Type: null

MailEntry

Type: object

The resulting mail configuration.

No Additional Properties

Fromemail

Type: string

The sending address that the mail server will use for sending emails.

Fromname

Type: string

Outgoingserver

Type: string

Hostname or IP address of the SMTP server used for sending emails.

Port

Type: integer

Security

Type: enum (of string)

Type of encryption.

Must be one of:
  • "PLAIN"
  • "SSL"
  • "TLS"

Smtp

Type: boolean

Whether SMTP authentication is enabled and user, pass are required.

User


SMTP username.

Type: string
Type: null

Pass


SMTP password.

Type: string
Type: null

Oauth


MailEntryOAuth

Type: object
No Additional Properties

Provider

Type: string

An email provider, e.g. "gmail", "outlook".

Client Id

Type: string

Client Secret

Type: string

Refresh Token

Type: string

EmptyDict

Type: object
Type: null

Id

Type: integer


Required roles: ALERT_WRITE