How to clear List widget of content

Description

I have a list of buttons and would like to clear the list before adding new items.
All help points to using lv_list_clean but that does not seem to be available any more !

What MCU/Processor/Board and compiler are you using?

Raspberry Pi

What LVGL version are you using?

Version 8

What do you want to achieve?

I want to be able to clear a list.

What have you tried so far?

N/A

Andy