---
title: "Merge Endpoint Configs"
method: PATCH
path: "/api/products/{product_id}/endpoint-configs"
tags: ["products"]
---

# Merge Endpoint Configs

`PATCH /api/products/{product_id}/endpoint-configs`

Bulk merge subdomain endpoint configurations.

Adds new subdomains and updates existing ones without deleting any.
Use this to bulk-import subdomains from an external system.

Request body:
{
    "configs": {
        "workspace1": {
            "api_base_url": "https://workspace1.example.com",
            "api_auth_config": { "auth_type": "bearer", "token": "sk-abc123" }
        },
        "workspace2": { ... }
    }
}

## Path parameters

- `product_id` string, required

## Headers

- `authorization` string, required

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas.md) · [All operations](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas/llms.txt) · [OpenAPI document](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas/revisions/66e6366f8ef9?raw)
