Script creation API endpoint has changed starting in FortiManager 7.6.5
The endpoint used to create scripts through the FortiManager API has changed starting in FortiManager 7.6.5.
Previous endpoints:
dvmdb/scriptdvmdb/adom/{adom}/scriptdvmdb/global/script
New endpoints:
pm/config/adom/{adom}/obj/fmg/scriptpm/config/global/obj/fmg/script
If you are using this endpoint in any automation, it should be updated following your upgrade to FortiManager 7.6.5 or later. For more information on this change, see Revision control for scripts and script groups with View Diff function in the CLI format.