Update a Vultr Marketplace application build using the Vultr Console or Vultr API to change build details before publishing the image to your customers.
Updating a build changes its version label, installation script, or operating system without creating a new build.
This guide explains how to update a build using the Vultr Console or the Vultr API.
Click Marketplace in the Vultr Console's left-hand menu.
Click the application name to open the Edit App screen.
Click the Builds tab.
Select the actions menu on the build you want to change and choose Edit.
Update the Vendor Data script and save your change.
Verify that the build's updated details appear in the Builds list.
Send a PATCH request to the Update Marketplace App Build Image endpoint. Replace {app-id} with the app's ID, {build-id} with the build's id from How to List Application Builds, and BUILD-VERSION with the new version label.
$ curl "https://api.vultr.com/v2/marketplace/apps/{app-id}/builds/{build-id}" \
-X PATCH \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"version": "BUILD-VERSION"
}'
The request body also accepts installation_script and OSID. The response contains the updated marketplace_app_build object.