Joshua_Beam_129
Apr 13, 2015Nimbostratus
iControl REST - SNAT TRANSLATION
I'm trying to remove a snat translation from a SNAT POOL LIST using the RESTful API.
Returning error :
{"code":403,"message":"Operation is not supported on component /ltm/snat-translation.","errorStack":[]}
curl -k -u xyz:xyz https://$lbip/mgmt/tm/ltm/snat-translation -H "Content-Type: application/json" -X DELETE "{\`"name\`":\`"$snatdest\`"}"
Also have tried going directly to the member:
curl -k -u xyz:xyz https://$lbip/mgmt/tm/ltm/snat-translation/$snatdest -H "Content-Type: application/json" -X DELETE "{\`"name\`":\`"$snatdest\`"}"
First I was trying to remove the address from the SNAT LIST itself but it was deleting my entire list:
curl -k -u xyz:xyz https://$lbip/mgmt/tm/ltm/snatpool/$snat -H "Content-Type: application/json" -X DELETE "{\`"members\`":[\`"$snatdest\`"]}"
Anything would help, running 11.5.1, thanks!