Updating a Serverless Inference subscription changes its label without affecting the underlying deployment. This helps streamline resource organization and improves clarity when managing multiple inference subscriptions.
Follow this guide to update a Serverless Inference subscription using the Vultr API or CLI.
Send a GET
request to the List Serverless Inference endpoint and note the target inference subscription's ID.
$ curl "https://api.vultr.com/v2/inference" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a PATCH
request to the Update Serverless Inference endpoint to update the label of the target inference subscription.
$ curl "https://api.vultr.com/v2/inference/{inference-id}" \
-X PATCH \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
--data '{
"label" : "example-inference-updated"
}'
List all the inference subscriptions available and note the target inference subscription's ID.
$ vultr-cli inference list
Update the label of the target inference subscription.
$ vultr-cli inference update <inference-ID> --label example-inference-updated
No comments yet.