Delete a Vultr Marketplace application variable using the Vultr Console or Vultr API to remove deployment values your provisioning scripts no longer need.
Deleting a variable removes it from the application's profile. Remove any reference to the variable from your application instructions and provisioning scripts before you delete it.
This guide explains how to delete a variable 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 Variables tab.
Click the variable you want to remove, then delete it.
Verify that the variable no longer appears in the Variables list.
Send a DELETE request to the Delete Marketplace App Variable endpoint. Replace {app-id} with the app's ID and {variable-id} with the variable's ID.
$ curl "https://api.vultr.com/v2/marketplace/apps/{app-id}/manage-variables/{variable-id}" \
-X DELETE \
-H "Authorization: Bearer ${VULTR_API_KEY}"
A successful request returns an HTTP 204 No Content response.