# Network settings

Source: https://tiltas.openpanel.sh/docs/people/network-settings

> The Network's name, Device approval, sign-in expiry and offline alerts.

Owners and Admins change a Network's settings in the console under **Settings**. Members can see the page but not change
it. Every change is in the [audit log](/docs/people/audit-log), as `account.updated`.

## Account

| Setting | What it does |
|---|---|
| **Network name** | The name the console, invites and emails show, 1 to 60 characters. Only Members of the Account see it. Choose **Save name**. |

## Devices

| Setting | What it does | Default |
|---|---|---|
| **Device approval** | A new Device reaches nothing until an Owner or Admin approves it under **Devices**. See [Device approval](/docs/access/device-approval). | off |
| **Personal device sign-in expires after** | Phones and computers sign in again after this many days, 1 to 365. Servers never expire. See [Sign-in expiry](/docs/access/sign-in-expiry). | 180 days |

## Alerts

| Setting | What it does | Default |
|---|---|---|
| **Offline alerts** | Email every Owner and Admin when a Server goes offline. See [Offline alerts](/docs/people/offline-alerts). | off |
| **After it has been offline for** | How long a Server must be offline before the email goes out, 1 to 1440 minutes. Shorter drops send nothing. | 10 minutes |

## Delete this Account

Owners see a last section, **Delete this Account**. See [Delete a Network](/docs/people/delete-a-network).

## By API

The same settings are `PATCH /accounts/{account_id}`, with `name` and a `settings` object:

```bash
curl -X PATCH https://tiltas.openpanel.sh/api/v1/accounts/acc_8f2k1 \
  -H "Authorization: Bearer $TILTAS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"settings": {"device_approval": true, "personal_key_expiry_days": 90, "alerts_enabled": true, "alert_offline_minutes": 15}}'
```

The fields are `device_approval`, `personal_key_expiry_days`, `alerts_enabled` and `alert_offline_minutes`. Leave out a
field to keep its value. See [Update an Account](/docs/api/accounts/updateAccount).
