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
-
The unique identifier of the connector to be updated
Body Required
PUT
/_connector/{connector_id}/_error
curl \
-X PUT http://api.example.com/_connector/{connector_id}/_error \
-H "Content-Type: application/json" \
-d '{"error":"string"}'
Request examples
{
"error": "string"
}
Response examples (200)
{
"result": "created"
}