Update the connector status | Elasticsearch API documentation (original) (raw)
Dismiss highlight Show more
application/json
Body Required
- Values are
created
,needs_configuration
,configured
,connected
, orerror
.
Responses
- 200 application/json
Hide response attribute Show response attribute object- Values are
created
,updated
,deleted
,not_found
, ornoop
.
- Values are
PUT /_connector/{connector_id}/_status
curl \
--request PUT 'http://api.example.com/_connector/{connector_id}/_status' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '"{\n \"status\": \"needs_configuration\"\n}"'
Request example
{
"status": "needs_configuration"
}
Response examples (200)