function delete_resources_by_tag($tag, $options = array())
{
$resource_type = \Cloudinary::option_get($options, "resource_type", "image");
$uri = array("resources", $resource_type, "tags", $tag);
return $this->call_api("delete", $uri, $this->only($options, array("keep_original", "next_cursor", "invalidate")), $options);
}
function test09b_delete_resources_by_tag() { // should allow deleting resources Curl::mockApi($this); $this->api->delete_resources_by_tag("api_test_tag_for_delete"); assertUrl($this, "/resources/image/tags/api_test_tag_for_delete"); assertDelete($this); }