---
title: "Create Or Update Script Config"
method: POST
path: "/scripts/configs/{config_name}"
tags: ["Scripts"]
---

# Create Or Update Script Config

`POST /scripts/configs/{config_name}`

Create or update script 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)
