Trying Python module "requests" on FortiManager URL with /jsonrpc, it is
ok when doing method "get". But change to method "add", it returns an
error code: -10147 and message: no write permission. Tried on different
Fortimanager and get same result. F...
Awesome Vincent! Now it works like a charm! The Lock and Commit then
Unlock are very important, without it no modification worked. Somehow
these are not showing in any API examples online. I found my previous
mistake, I tested lock_adom on one Adom(c...
Thank you Vincent! The thing is my Adom is not locked. Or even I locked
it manually from GUI using same id, the result is the same. And I wonder
if it needs a lock/unlock step in the script, but I don't see it in any
example. So I tried following one...