// DeleteProcessor removes a processor based on its name or the full id,
// it depends on lenses execution mode, use the `LookupProcessorIdentifier`.
DeleteProcessor removes a processor based on its name or the full id,
it depends on lenses execution mode, use the `LookupProcessorIdentifier`.
// DeleteProcessor removes a processor based on its name or the full id // it depends on lenses execution mode use the ` LookupProcessorIdentifier ` .
func (c *Client) DeleteProcessor(processorNameOrID string) error {
	if processorNameOrID == "" {
		return errRequired("processorNameOrID")
	}
	path := fmt.Sprintf(processorPath, processorNameOrID)
	resp, err := c.Do(http.MethodDelete, path, "", nil)
	if err != nil {
		return err
	}
	return resp.Body.Close()
}
func ( c * Client ) DeleteProcessor ( processorNameOrID string ) error { if processorNameOrID == " " { return errRequired ( " " ) } path := fmt . Sprintf ( processorPath , processorNameOrID ) resp , err := c . Do ( http . MethodDelete , path , " " , nil ) if err != nil { return err } return resp . Body . Close ( ) }
DeleteProcessor removes a processor based on its name or the full id,
it depends on lenses execution mode, use the `LookupProcessorIdentifier`.
DeleteProcessor removes a processor based on its name or the full id it depends on lenses execution mode use the ` LookupProcessorIdentifier ` .