Skip to main content

Deleting non-image assets returns a 200 OK response but the resources are still there

Comments

2 comments

  • Isaac Pak

    The callback should be the last parameter shouldn't it?

    0
  • Stephen Doyle

    Hi Isaak,

    The callback is the last parameter in the 'v2' methods in the SDK, but the methods without 'v2' still support the older convention, which has the callback earlier. This was changed due to what you said, the callback being the last parameters as a common Node convention, but both are supported depending on which version of the method you use. 

    If you use cloudinary.v2.api.delete_resources, the callback is the last parameter.

    Thanks,

    Stephen

    0

Please sign in to leave a comment.