Updating the label of a Vultr CDN Pull 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 Pull Zones are consistently aligned with your workflow.
Follow this guide to update the label of a Vultr CDN Pull Zone subscription on your Vultr account using the Vultr Customer Portal, API, or CLI.
Send a GET
request to the List CDN Pull Zones endpoint and note the target Pull Zone subscription's ID.
$ curl "https://api.vultr.com/v2/cdns/pull-zones" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a PUT
request to the Update CDN Pull Zone endpoint to update the target Pull Zone subscription's label.
$ curl "https://api.vultr.com/v2/cdns/pull-zones/{pullzone-id}" \
-X PUT \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
--data '{
"label": "{updated_label}"
}'
List all available CDN Pull Zone subscriptions and note the target Pull Zone subscription's ID.
$ vultr-cli cdn pull list
Update the target Pull Zone subscription's label.
$ vultr-cli cdn pull update <pullzone-id> --label "<updated_label>"