Reply
Highlighted
Accepted Solution

Stuck on permissions update

georgeie_vb
Techie
Posts: 7
1438     0

Using wapi 2.61 and trying to update permissions on an object. My sent data dictionary is

{'group': 'SYSAD',
'permission': 'WRITE',
'object': 'network/ZG5zLm5ldHdvcmskMTAuODEuMzkuODAvMjgvMA:10.81.39.80/28/aaaa'})

My put operation results in below:

 

 Updating(put): https://a.b.c.d/wapi/v2.6.1/permission 400 { "Error": "AdmConProtoError: Object ref must be given for PUT: permission",
"code": "Client.Ibap.Proto",
"text": "Object ref must be given for PUT: permission"
}

 

Anyone know what I am missing, I can't figure out what the problem is, far as I can tell my syntax is correct from the api guide and a couple examples in here. 

Re: Stuck on permissions update

georgeie_vb
Techie
Posts: 7
1439     0

30 seconds after posting figured out my probelm, its a new permission so I had to do a post vice put.

Showing results for 
Search instead for 
Do you mean 

Recommended for You