Add and manage tags on your Vultr VX1™ Cloud Compute instance using the Customer Portal or API for better organization.
Tagging allows you to assign specific labels, known as tags, to an instance for improved identification in your Vultr account. Tags consist of multiple characters that help identify, organize, and manage instances in your Vultr account.
Follow this guide to add tags on a Vultr VX1™ Cloud Compute instance using the Vultr Customer Portal, or API.
Send a GET request to the List Instances endpoint and note your target instance's ID.
$ curl "https://api.vultr.com/v2/instances" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a PATCH request to the Update Instance endpoint to add tags to the instance.
$ curl "https://api.vultr.com/v2/instances/{instance-id}" \
-X PATCH \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
--data '{
"tags" : ["tag1", "tag2"]
}'
If successful, you receive a 200 status code response.