---
title: "Create Or Update Controller Config"
method: POST
path: "/controllers/configs/{config_name}"
tags: ["Controllers"]
---

# Create Or Update Controller Config

`POST /controllers/configs/{config_name}`

Create or update controller configuration.

Args:
    config_name: Name of the configuration file
    config: Configuration dictionary to save

Returns:
    Success message when configuration is saved

Raises:
    HTTPException: 400 if save error occurs

## Path parameters

- `config_name` string, required

## Request body

- object

## Response `201`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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