v51

latestSwagger 2.0raw.githubusercontent.com2026-08-01108160461.1 KB
Config

Create a config

post/configs/create

Request body

Namestring

User-defined name of the config.

Labelsobject

User-defined key/value metadata.

Datastring

Data is the data to store as a config, formatted as a standard base64-encoded (RFC 4648) string. The maximum allowed size is 1000KB, as defined in MaxConfigSize.

Example request

{
  "Name": "server.conf",
  "Labels": {
    "foo": "bar"
  },
  "Data": "VEhJUyBJUyBOT1QgQSBSRUFMIENFUlRJRklDQVRFCg=="
}

Response

no error

Idstring required

The id of the newly created object.