You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Create an unsigned preset (allows unsigned uploading), adds the tag 'remote' to uploaded images, and only allows the uploading of JPG and PNG image formats:
# create_unsigned = api.create_upload_preset(
# name = "unsigned-image",
# unsigned = True,
# tags = "remote",
# allowed_formats = "jpg,png")
# print(json.dumps(create_unsigned, indent=2))
# Create a signed preset (does not allow unsigned uploading), adds the tag 'remote' to uploaded images, and only allows the uploading of JPG and PNG image formats: