api.update not working for type
I'm trying to change type of my resource with my Ruby script. I am able to successfully add tags with the following script:
Cloudinary.Api.update('L9V', :tags => "test")
But when I do:
Cloudinary.Api.update('L9v', :type => "private")
I get the following error: "block in call_api': Resources not found - L9V (Cloudinary::Api::NotFound)
Any idea what's going wrong?
Thanks for your help.
0
-
Hi Jeffrey,
Currently the type of resources cannot be updated. You'll need to re-upload the image while setting the
type
toprivate
.Here's a list of the supported parameters of the update Admin API call:
http://cloudinary.com/documentation/admin_api#update_details_of_an_existing_resource1
Post is closed for comments.
Comments
1 comment