---
title: "POST /api/ee/database-routing/destination-database"
method: POST
path: "/api/ee/database-routing/destination-database"
tags: ["/api/ee/database-routing"]
---

# POST /api/ee/database-routing/destination-database

`POST /api/ee/database-routing/destination-database`

Create new Destination Databases.

  Note that unlike the normal `POST /api/database` endpoint, this endpoint does not test that the database is actually
  reachable before adding it — destination details are not required to be valid at creation time, and an
  unreachable destination is fine.

## Query parameters

- `check_connection_details` boolean

## Request body

- object
  - `destinations` object[], required
    - `details` object, required — Value must be a map.
    - `name` string, required
  - `router_database_id` integer, required — value must be an integer greater than zero.

## Response `2XX`

Successful response

## Other responses

- `4XX` — Client error response
- `5XX` — Server error response

---

[API](https://skmtc.net/metabase/apis/metabase-api.md) · [All operations](https://skmtc.net/metabase/apis/metabase-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/metabase/metabase-api/revisions/08b5a2bafb4f/schema)
