def remove_page(api, assessment_id):
    """Remove all pages from an assessment."""
    allPages = api.pages.get()

    for page in allPages:
        if page.name.startswith(assessment_id):
            api.pages.delete(page.id)

    return True