Committing the Draft Software Specification
Last Updated December 16, 2024

When you commit a draft software specification, it becomes the desired state for the cluster or the standalone host.
To save the draft that you created for a cluster or a standalone host,
use the
POST https://
<vcenter_ip_address_or_fqdn>
/api/esx/settings/clusters/
<cluster_id>
/software/drafts/
<draft_id>
?action=commit&vmw-task=true
and
POST https://
<vcenter_ip_address_or_fqdn>
/api/esx/settings/hosts/
<host_id>
/software/drafts/
<draft_id>
?action=commit&vmw-task=true
request depending on the targeted vSphere inventory object
. The Image Manager component runs a validation check before the draft gets saved to the database. This method returns an identifier of the commit operation. You can use the ID to retrieve information about a specific commit such as the author of the commit operation, the time when the draft was committed, and so on.