how to use curl to set visibility of the object is None ?