Update the connector configuration Beta
Update the configuration field in the connector document.
Path parameters
-
The unique identifier of the connector to be updated
Body Required
-
configuration object
-
values object
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"
}