Update the connector configuration Beta

PUT /_connector/{connector_id}/_configuration

Update the configuration field in the connector document.

Path parameters

  • connector_id string Required

    The unique identifier of the connector to be updated

application/json

Body Required

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • result string Required

      Values are created, updated, deleted, not_found, or noop.

PUT /_connector/{connector_id}/_configuration
curl \
 -X PUT http://api.example.com/_connector/{connector_id}/_configuration \
 -H "Content-Type: application/json" \
 -d '{"configuration":{"additionalProperty1":{"category":"string","":42.0,"depends_on":[{"field":"string","":42.0}],"display":"textbox","label":"string","options":[{"label":"string","":42.0}],"order":42.0,"placeholder":"string","required":true,"sensitive":true,"tooltip":"string","type":"str","ui_restrictions":["string"],"validations":[{"type":"less_than","constraint":42.0}],"value":{}},"additionalProperty2":{"category":"string","":42.0,"depends_on":[{"field":"string","":42.0}],"display":"textbox","label":"string","options":[{"label":"string","":42.0}],"order":42.0,"placeholder":"string","required":true,"sensitive":true,"tooltip":"string","type":"str","ui_restrictions":["string"],"validations":[{"type":"less_than","constraint":42.0}],"value":{}}},"values":{"additionalProperty1":{},"additionalProperty2":{}}}'
Request examples
{
  "configuration": {
    "additionalProperty1": {
      "category": "string",
      "": 42.0,
      "depends_on": [
        {
          "field": "string",
          "": 42.0
        }
      ],
      "display": "textbox",
      "label": "string",
      "options": [
        {
          "label": "string",
          "": 42.0
        }
      ],
      "order": 42.0,
      "placeholder": "string",
      "required": true,
      "sensitive": true,
      "tooltip": "string",
      "type": "str",
      "ui_restrictions": [
        "string"
      ],
      "validations": [
        {
          "type": "less_than",
          "constraint": 42.0
        }
      ],
      "value": {}
    },
    "additionalProperty2": {
      "category": "string",
      "": 42.0,
      "depends_on": [
        {
          "field": "string",
          "": 42.0
        }
      ],
      "display": "textbox",
      "label": "string",
      "options": [
        {
          "label": "string",
          "": 42.0
        }
      ],
      "order": 42.0,
      "placeholder": "string",
      "required": true,
      "sensitive": true,
      "tooltip": "string",
      "type": "str",
      "ui_restrictions": [
        "string"
      ],
      "validations": [
        {
          "type": "less_than",
          "constraint": 42.0
        }
      ],
      "value": {}
    }
  },
  "values": {
    "additionalProperty1": {},
    "additionalProperty2": {}
  }
}
Response examples (200)
{
  "result": "created"
}