Version 4.0.26.22 (latest)

### Configure SMTP Settings

This API allows users to configure the SMTP settings on the Looker instance.
Only admin users are authorised to call this API.

## Request

POST /smtp_settings Datatype Description Request HTTP Request body HTTP Body Expand HTTP Body definition... body [SmtpSettings](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/SmtpSettings) SMTP Setting Configuration Expand SmtpSettings definition... address string SMTP Server url from string From e-mail address user_name string User name password string Password port integer SMTP Server's port enable_starttls_auto boolean Is TLS encryption enabled? ssl_version string TLS version selected Valid values are: "TLSv1_1", "SSLv23", "TLSv1_2". auth_type string Auth Type client_id string The OAuth Client ID client_secret string The OAuth Client Secret token_endpoint string The OAuth Token Endpoint scopes string The OAuth Scopes default_smtp boolean Whether to enable built-in Looker SMTP

## Response

### 204: Successfully updated SMTP settings

### 400: Bad Request

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 403: Permission Denied

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 404: Not Found

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 409: Resource Already Exists

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 422: Validation Error

Datatype Description (object) [ValidationError](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/ValidationError) message string Error details errors [ValidationErrorDetail](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/ValidationErrorDetail)\[\] Expand ValidationErrorDetail definition... field string Field with error code string Error code message string Error info message documentation_url string Documentation link documentation_url string Documentation link

### 429: Too Many Requests

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link