get_license_status
Check FortiGate-VM license, FortiCare, and FortiGuard contract status to confirm valid entitlements before other FortiOS API calls; set all=true for every entitlement.
Instructions
License and FortiGuard contract status. By default returns only the VM license, FortiCare and FortiGuard sections; set all=true for every entitlement. An unlicensed FortiGate-VM reports vm.status=vm_invalid and refuses most other API calls with 401.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Return every entitlement (default false) | |
| vdom | No | VDOM (default: FORTIGATE_VDOM, usually root) |