How to Update Vultr Serverless Inference

Updated on March 11, 2025

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.

  • Vultr API
  • Vultr CLI
  1. Send a GET request to the List Serverless Inference endpoint and note the target inference subscription's ID.

    console
    $ curl "https://api.vultr.com/v2/inference" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a PATCH request to the Update Serverless Inference endpoint to update the label of the target inference subscription.

    console
    $ 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"
        }'
    
  1. List all the inference subscriptions available and note the target inference subscription's ID.

    console
    $ vultr-cli inference list
    
  2. Update the label of the target inference subscription.

    console
    $ vultr-cli inference update <inference-ID> --label example-inference-updated
    

Comments

No comments yet.