How to delete all images within a folder?

Follow

Comments

4 comments

  • Avatar
    Narayanan Raghavan

    Can you show us an example in Java?

  • Avatar
    Lei Wang

    It (api.deleteResourcesByPrefix) does not work with Scala to delete a folder. Only "image" and "raw" can be defined to the resourceType. Does anyone have any idea?

  • Avatar
    Maor Gariv

    Hi,

    Sorry for the very late reply, we have noticed that this request was left unattended. I guess this is not relevant anymore but for future reference -
    deleteResourcesByPrefix is meant to delete resources within a certain folder. Deleting the folders is currently not supported on our SDKs (it's currently on our road map). Please note that you can delete empty folders using the console.

  • Avatar
    Amit

    works great.

Please sign in to leave a comment.