I have the next script/funtion (in python) and when i try to add USER GROUP with POST i can´t do that
def add_group():
print("\nSe cargara el grupo ctl-team....")
url_group = https://{{vmanage}}:{{port}}/dataservice/admin/usergroup
with open('grupo_list.json') as list:
group=json.load(list)
response = requests.post(url=url_group, headers=header,verify=False,data=json.dumps(group))
if response.status_code == 200:
print('Se cargo de forma correcta el grupo "list"')
else:
print('Error al cargar el grupo "list"' + str(response.text))
exit()
-i recieve the following message
Error al cargar el grupo "list"{"error":{"message":"create user group request failed","details":"User group creation permission check failed.","code":"USERGR0003"}}
-I am using user with rol netadmin.
-When i used the same scritp to add USER GROUP in other VAMANGE , it worked ok , without problems.
Se cargo de forma correcta el grupo "list"'
-When i tried to do the same (add USER GROUP) with POSTMAN , i received the same error message (attach screen)
Which could be the problem? any advice?
Does Anyone knows the error code : SUERGR0003. ?
PST. I am using in all cases VMANAGE version 19.2.3 .
thanks you
Giancarlo Villarreal