---
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

## Changes

- **2024-11-05** `9f401d02424a` — 1 info
  - added the non-success response with the status `400`
- **2024-10-25** `97ab64cf1664` — 3 info
  - api tag `config` added
  - api tag `set` removed
  - removed the non-success response with the status `400`
- **2024-08-12** `8aff807c6afe` — 1 info
  - endpoint added
- **2024-07-25** `21706ccb959b` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/stamusnetworks/apis/swagger-stamusd-api/changes/config/post.md)

---

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