---
title: "Set configuration"
method: POST
path: "/config"
tags: ["config"]
---

# Set configuration

`POST /config`

Sets configuration with provided parameters.

## Request body

- PkgSetRequest
  - `apply` boolean — Apply the new configuration, relaunch it, default is false
  - `config` string — Config name, default is config
  - `from_file` object — Values keys and paths to files containing the content used as value
  - `reload` boolean — Reload the configuration, don't keep arbitrary parameters
  - `values` object — Values to set, key is the name of the value, value is the value
  - `values_path` string — Path to a values.yaml file

## Response `200`

Configuration set successfully

- PkgSuccessResponse
  - `message` string

## Other responses

- `400` — Bad request with explanation
- `500` — Internal server error with explanation

---

[API](https://skmtc.net/stamusnetworks/apis/swagger-stamusd-api.md) · [All operations](https://skmtc.net/stamusnetworks/apis/swagger-stamusd-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stamusnetworks/swagger-stamusd-api/versions/c90a51d85d80/schema)
