---
title: "Save Connection"
method: POST
path: "/config/connections"
---

# Save Connection

`POST /config/connections`

## Request

- Base URL: `https://usemeridian.us` (the document declares no server; this is the origin it was published from)
- URL: `https://usemeridian.us/config/connections`
- Auth: none declared

v1.9.x — save a new connection profile to meridian.toml.

Body fields:
  * ``name``      — profile name (e.g. "local", "neon")
  * ``type``      — "sqlite" or "postgres"
  * ``url``       — Postgres URL (required when type == "postgres")
  * ``activate``  — if true, set as the active connection (default true)

Hosted non-admin tenants get 403; the dashboard hides the picker for
them too, but this is the canonical defense.

## Request body

- object

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/usemeridian/apis/meridian.md) · [All operations](https://skmtc.dev/usemeridian/apis/meridian/llms.txt) · [OpenAPI document](https://skmtc.dev/usemeridian/apis/meridian/revisions/f37a894bd374?raw)
