Update the connector API key ID Beta
Update the api_key_id
and api_key_secret_id
fields of a connector.
You can specify the ID of the API key used for authorization and the ID of the connector secret where the API key is stored.
The connector secret ID is required only for Elastic managed (native) connectors.
Self-managed connectors (connector clients) do not use this field.
Path parameters
-
The unique identifier of the connector to be updated
Body Required
-
api_key_id string
-
api_key_secret_id string
PUT /_connector/{connector_id}/_api_key_id
curl \
-X PUT http://api.example.com/_connector/{connector_id}/_api_key_id \
-H "Content-Type: application/json" \
-d '{"api_key_id":"string","api_key_secret_id":"string"}'
Request examples
{
"api_key_id": "string",
"api_key_secret_id": "string"
}
Response examples (200)
{
"result": "created"
}