I am trying to use the REST API call for BNA to add/remove member to a zone. When the action is add, it's working fine, but when the action is remove it say ""Error 16004: Member does not exist", appears with remove action but not with add action". I can't understand what's going on.
FYI: I am using the same object. Even when I do add twice, the zone will have same members twice. I can remove memebrs from the terminal perfectly fine, just when I try to remove from REST API it doesn't work.
which version of BNA are using?
After spending couple of hours, I figured out what the issue was.
The API is case sensitive, so when I add something it doesn't matter, because it will just add it .
But while removing it wasn't finding it because I was putting on lowercase.
The confusion came because of the way API and CLI works. If we do 'alishow' on command line, it shows on lowercase. I basically copied that and used that to add/remove. But from the API it has to be uppercase.