curl -k -X POST \ -H "vmware-api-session-id: $SESSION_ID" \ -H "Content-Type: application/json" \ -d '"license_key":"XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"' \ https://vcenter.example.com/api/licensing/license
The entries now reflected the new key and valid capacity. She pushed an automated note to the ops channel: license updated, no action needed. The monitoring dashboard stopped flagging; green returned. vcenter license key command line
For Windows/Linux with VMware PowerCLI installed, combine commands: curl -k -X POST \ -H "vmware-api-session-id: $SESSION_ID"