def METHOD_NAME(name):
    """
    Delete a kapacitor task.
    name
        Name of the task to delete.
    CLI Example:
    .. code-block:: bash
        salt '*' kapacitor.delete_task cpu
    """
    return _run_cmd("kapacitor delete tasks {}".format(name))