Update the connector index name
Beta
Update the index_name
field of a connector, specifying the index where the data ingested by the connector is stored.
Path parameters
-
connector_id
string Required The unique identifier of the connector to be updated
Body
Required
index_name
string | null One of: A
null
value that is to be interpreted as an actual value, unless other uses ofnull
that are equivalent to a missing value. It is used for exemple in settings, where using theNullValue
for a setting will reset it to its default value.
PUT
/_connector/{connector_id}/_index_name
curl \
--request PUT http://api.example.com/_connector/{connector_id}/_index_name \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '"{\n \"index_name\": \"data-from-my-google-drive\"\n}"'
Request example
{
"index_name": "data-from-my-google-drive"
}
Response examples (200)
{
"result": "updated"
}