def METHOD_NAME(clients):
    """Delete all endpoints in all workspaces of `clients`.
    Parameters
    ----------
    clients : list of :class:`~verta.Client`
    """
    logger.info("deleting endpoints")
    for client in clients:
        workspaces = client._conn._get_visible_workspaces()
        for workspace in workspaces:
            for endpoint in client.endpoints.with_workspace(workspace):
                path = endpoint.path  # need to get from obj before deletion
                try:
                    endpoint.delete()
                except requests.HTTPError as e:
                    logger.warning(
                        "%s failed to delete %s in %s (%s)",
                        client._conn.email,
                        path,
                        workspace,
                        e.response.status_code,
                    )
                else:
                    logger.info(
                        "%s deleted %s in %s",
                        client._conn.email,
                        path,
                        workspace,
                    )