def METHOD_NAME(self, id, params=None, headers=None):
    """
    Deletes a pipeline.
    :arg id: Pipeline ID
    :arg master_timeout (Deprecated: use cluster_manager_timeout): Explicit operation timeout for connection
        to master node
    :arg cluster_manager_timeout: Explicit operation timeout for connection
        to cluster_manager node
    :arg timeout: Explicit operation timeout
    """
    if id in SKIP_IN_PATH:
        raise ValueError("Empty value passed for a required argument 'id'.")
    return self.transport.perform_request(
        "DELETE",
        _make_path("_ingest", "pipeline", id),
        params=params,
        headers=headers,
    )