Delete a connector
Beta
Removes a connector and associated sync jobs. This is a destructive action that is not recoverable. NOTE: This action doesn’t delete any API keys, ingest pipelines, or data indices associated with the connector. These need to be removed manually.
Path parameters
-
connector_id
string Required The unique identifier of the connector to be deleted
Query parameters
-
delete_sync_jobs
boolean A flag indicating if associated sync jobs should be also removed. Defaults to false.
-
hard
boolean A flag indicating if the connector should be hard deleted.
DELETE
/_connector/{connector_id}
curl \
--request DELETE http://api.example.com/_connector/{connector_id} \
--header "Authorization: $API_KEY"
Response examples (200)
{
"acknowledged": true
}