Deleting Startup Scripts for Vultr instances completely removes the script from your account. This step is necessary if you no longer need to run the commands when provisioning Cloud Compute instances. After deleting a startup script, you can't undo the operation, so you should take great care.
Follow this guide to delete Startup Scripts for Vultr instances using the Vultr Customer Portal, API, and CLI.
Navigate to Orchestration and select Scripts.
Select the target startup script and click the delete icon to remove the script.
Confirm the new change and click Delete.
Send a GET
request to the List Startup Scripts endpoint and note the script ID.
$ curl "https://api.vultr.com/v2/startup-scripts" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a DELETE
request to the Delete Startup Script endpoint and specify a script ID.
$ curl "https://api.vultr.com/v2/startup-scripts/script_id" \
-X DELETE \
-H "Authorization: Bearer ${VULTR_API_KEY}"
List all scripts.
$ vultr-cli script list
Delete a script by specifying a script ID.
$ vultr-cli script delete script_id
Run vultr-cli script delete --help
to view all options.