def METHOD_NAME(request):
    """
    Purges a specified logincreate record.
    :param request: A Pyramid request.
    :return: HTTPSeeOther to /admincontrol/pending_accounts
    """
    logincreatetoken = request.POST.get("logincreatetoken")
    if logincreatetoken:
        d.engine.execute("""
            DELETE FROM logincreate
            WHERE token = %(token)s
        """, token=logincreatetoken)
    raise HTTPSeeOther(location="/admincontrol/pending_accounts")