Updating the label of a Vultr CDN Push Zone is a straightforward process that enables you to better organize and manage your CDN configuration. This process enhances the clarity of your CDN management and ensures your Push Zones are consistently aligned with your workflow.
Follow this guide to update the label of a Vultr CDN Push Zone subscription on your Vultr account using the Vultr Customer Portal, API, or CLI.
Send a GET
request to the List CDN Push Zones endpoint and note the target Push Zone subscription's ID.
$ curl "https://api.vultr.com/v2/cdns/push-zones" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a PUT
request to the Update CDN Push Zone endpoint to update the target Push Zone subscription's label.
$ curl "https://api.vultr.com/v2/cdns/push-zones/{pushzone-id}" \
-X PUT \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
--data '{
"label": "{updated_label}"
}'
List all available CDN Push Zone subscriptions and note the target Push Zone subscription's ID.
$ vultr-cli cdn push list
Update the target Push Zone subscription's label.
$ vultr-cli cdn push update <pushzone-id> --label "<updated_label>"