v1

latestSwagger 2.02026-07-17107130444.8 KB
Config

Update a Config

post/configs/{id}/update

Path parameters

idstring required

The ID or name of the config

Query parameters

versioninteger required

The version number of the config object being updated. This is required to avoid conflicting writes.

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 Base64-url-safe-encoded (RFC 4648) string. The maximum allowed size is 1000KB, as defined in MaxConfigSize.

Example request

{
  "Templating": {
    "Name": "some-driver",
    "Options": {
      "OptionA": "value for driver-specific option A",
      "OptionB": "value for driver-specific option B"
    }
  }
}

Response

no error