if new_name is None and permissions is None and add is None and remove is None:
raise ClientException('At least one option should be provided')
elif permissions and (add or remove):
if new_name is None and permissions is None and add is None and remove is None:
raise ClientException('At least one option should be provided')
elif permissions and (add or remove):