Update the connector error field
Technical preview
Set the error field for the connector. If the error provided in the request body is non-null, the connector’s status is updated to error. Otherwise, if the error is reset to null, the connector status is updated to connected.
Path parameters
-
connector_id
string Required The unique identifier of the connector to be updated
Body
Required
PUT
/_connector/{connector_id}/_error
curl \
--request PUT http://api.example.com/_connector/{connector_id}/_error \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"error":"string"}'
Request examples
{
"error": "string"
}
Response examples (200)
{
"result": "created"
}