Class DeleteConnectorRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.connector.DeleteConnectorRequest
Delete a connector.
 
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.
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBaseRequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Endpoint<DeleteConnectorRequest,DeleteConnectorResponse, ErrorResponse> Endpoint "connector.delete".
- 
Method SummaryModifier and TypeMethodDescriptionfinal StringRequired - The unique identifier of the connector to be deletedfinal BooleanA flag indicating if associated sync jobs should be also removed.final Booleanhard()A flag indicating if the connector should be hard deleted.static DeleteConnectorRequestMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBasetoString
- 
Field Details- 
_ENDPOINTpublic static final Endpoint<DeleteConnectorRequest,DeleteConnectorResponse, _ENDPOINTErrorResponse> Endpoint "connector.delete".
 
- 
- 
Method Details- 
ofpublic static DeleteConnectorRequest of(Function<DeleteConnectorRequest.Builder, ObjectBuilder<DeleteConnectorRequest>> fn) 
- 
connectorIdRequired - The unique identifier of the connector to be deletedAPI name: connector_id
- 
deleteSyncJobsA flag indicating if associated sync jobs should be also removed.API name: delete_sync_jobs
- 
hardA flag indicating if the connector should be hard deleted.API name: hard
 
-