v1

latestOpenAPI 3.0.02026-07-1410578280.2 KB
Config

Create a config

post/configs/create

Request body

Datastring

Base64-url-safe-encoded (RFC 4648) config data.

Labelsobject

User-defined key/value metadata.

Namestring

User-defined name of the config.

Example request

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

Response

no error

IDstring

The ID of the created config.

Example response

{
  "ID": "ktnbjxoalbkvbvedmg1urrz8h"
}