Update the index_name field of a connector, specifying the index where the data ingested by the connector is stored.
PUT
/_connector/{connector_id}/_index_name
Console
PUT _connector/my-connector/_index_name
{
"index_name": "data-from-my-google-drive"
}
curl \
--request PUT 'http://api.example.com/_connector/{connector_id}/_index_name' \
--header "Content-Type: application/json" \
--data '"{\n \"index_name\": \"data-from-my-google-drive\"\n}"'
Request examples
Connector update index name example1
An example body for a `PUT _connector/my-connector/_index_name` request.
{
"index_name": "data-from-my-google-drive"
}
{
"index_name": "data-from-my-google-drive"
}
Response examples (200)
{
"result": "updated"
}