Path parameters
-
connector_id
string Required The unique identifier of the connector to be created or updated. ID is auto-generated if not provided.
Body
-
description
string -
index_name
string -
is_native
boolean -
language
string -
name
string -
service_type
string
PUT
/_connector/{connector_id}
curl \
--request PUT http://api.example.com/_connector/{connector_id} \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '"{\n \"index_name\": \"search-google-drive\",\n \"name\": \"My Connector\",\n \"service_type\": \"google_drive\"\n}"'
Request examples
Connector put request example1
{
"index_name": "search-google-drive",
"name": "My Connector",
"service_type": "google_drive"
}
{
"index_name": "search-google-drive",
"name": "My Connector",
"description": "My Connector to sync data to Elastic index from Google Drive",
"service_type": "google_drive",
"language": "english"
}
Response examples (200)
{
"result": "created",
"id": "my-connector"
}