You can do this without the api, but our custom function is shorter.
Clear
api.Clear()
Last updated 2 years ago