# Update SMTP Config.

Endpoint: PUT /management/smtp
Version: 3.17.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Request body:

  - `application/json` (unknown)
    The parameters to update the SMTP config.

## Request fields (application/json):

  - `enabled` (boolean)
    True if outbound email is enabled.
    Example: false

  - `server` (string)
    IP address or hostname of SMTP relay server.
    Example: smtp.host.com

  - `port` (integer)
    Port number to use. A value of -1 indicates the default (25 or 587 for TLS).
    Example: 25

  - `authentication_enabled` (boolean)
    True if username/password authentication should be used.
    Example: false

  - `tls_enabled` (boolean)
    True if TLS (transport layer security) should be used.
    Example: false

  - `username` (string)
    If authentication is enabled, username to use when authenticating to the server.
    Example: username

  - `password` (string)
    If authentication is enabled, password to use when authenticating to the server.
    Example: password

  - `from_address` (string)
    From address to use when sending mail. If unspecified, 'noreply@delphix.com' is used.
    Example: sender@example.com

  - `send_timeout` (integer)
    Maximum timeout to wait, in seconds, when sending mail.

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `enabled` (boolean)
    True if outbound email is enabled.
    Example: false

  - `server` (string)
    IP address or hostname of SMTP relay server.
    Example: smtp.host.com

  - `port` (integer)
    Port number to use. A value of -1 indicates the default (25 or 587 for TLS).
    Example: 25

  - `authentication_enabled` (boolean)
    True if username/password authentication should be used.
    Example: false

  - `tls_enabled` (boolean)
    True if TLS (transport layer security) should be used.
    Example: false

  - `username` (string)
    If authentication is enabled, username to use when authenticating to the server.
    Example: username

  - `password` (string)
    If authentication is enabled, password to use when authenticating to the server.
    Example: password

  - `from_address` (string)
    From address to use when sending mail. If unspecified, 'noreply@delphix.com' is used.
    Example: sender@example.com

  - `send_timeout` (integer)
    Maximum timeout to wait, in seconds, when sending mail.

