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 \
--request PUT http://api.example.com/_connector/{connector_id}/_configuration \
--header "Content-Type: application/json" \
--data '"{\n \"values\": {\n \"tenant_id\": \"my-tenant-id\",\n \"tenant_name\": \"my-sharepoint-site\",\n \"client_id\": \"foo\",\n \"secret_value\": \"bar\",\n \"site_collections\": \"*\"\n }\n}"'
Request examples
Connector update configuration request example1
{
"values": {
"tenant_id": "my-tenant-id",
"tenant_name": "my-sharepoint-site",
"client_id": "foo",
"secret_value": "bar",
"site_collections": "*"
}
}
{
"values": {
"secret_value": "foo-bar"
}
}
Response examples (200)
{
"result": "updated"
}