activate_vm_eval_license
Activate the free permanent evaluation license on an unlicensed FortiGate-VM by logging in to FortiCloud, so the VM stops refusing API calls. Requires confirm=true because the firewall reboots.
Instructions
Activate the free permanent evaluation license on an unlicensed FortiGate-VM by logging in to FortiCloud from the FortiGate (the same call the GUI makes). The FortiCloud account comes from the FORTICLOUD_ACCOUNT and FORTICLOUD_PASSWORD environment variables, never from tool arguments. The FortiGate reboots to apply it. Unlicensed VMs refuse most API calls, so use session auth (FORTIGATE_USERNAME/PASSWORD) on a fresh VM. FortiCare error 10 means wrong credentials, an IAM sub-user, or 2FA on the account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | VDOM (default: FORTIGATE_VDOM, usually root) | |
| confirm | Yes | Must be true: the FortiGate reboots | |
| is_government | No | Government account (default false) |