Check in a connector
Technical preview
Update the last_seen
field in the connector and set it to the current timestamp.
Path parameters
-
connector_id
string Required The unique identifier of the connector to be checked in
PUT
/_connector/{connector_id}/_check_in
Console
PUT _connector/my-connector/_check_in
resp = client.connector.check_in(
connector_id="my-connector",
)
const response = await client.connector.checkIn({
connector_id: "my-connector",
});
response = client.connector.check_in(
connector_id: "my-connector"
)
$resp = $client->connector()->checkIn([
"connector_id" => "my-connector",
]);
curl -X PUT -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_connector/my-connector/_check_in"
Response examples (200)
{
"result": "updated"
}