# Setting: `mail_api_key`

- **Constant:** `ConfigInterface::MAIL_API_KEY`
- **Category:** `email`
- **Type:** `password`
- **Required:** no
- **Sensitive:** yes
- **Validation:** `string|max:512`
- **Placeholder / default hint:** `Enter API key to change`

## Description

API key for HTTP mail providers. For Amazon SES use ACCESS_KEY:SECRET_KEY

## Allowed options

_Free-form / no fixed options_

## Change via CLI

```bash
featherpanel saas getsetting mail_api_key
featherpanel saas setsetting mail_api_key "<value>"
```

## Change via API

```http
PATCH /api/admin/settings
Content-Type: application/json

{ "mail_api_key": "<value>" }
```
