def remove_storage(self): try: pvesh.delete("storage/{}".format(self.name)) return (True, None) except ProxmoxShellError as e: return (False, e.message)
def remove_user(self): try: pvesh.delete("access/users/{}".format(self.name)) return (True, None) except ProxmoxShellError as e: return (False, e.message)