Deleting the Vultr Serverless Inference service involves removing the entire inference service from your account. This process is important for managing resource allocation and avoiding unnecessary costs. Ensuring that unused services are properly deleted helps maintain an efficient and cost-effective cloud environment.
Follow this guide to delete the Serverless Inference service on your Vultr account using the Vultr Customer Portal, API, or CLI.
Navigate to Products, click Serverless, and then click Inference.
Click your target inference service to open its management page.
Click delete on the top right of the management page.
Click Close Serverless Inference Subscription in the confirmation prompt to permanently delete the target inference service.
Send a GET
request to the List Inference endpoint and note the target inference service's ID.
$ curl "https://api.vultr.com/v2/inference" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a DELETE
request to the Delete Inference ID endpoint to delete the target inference service.
$ curl "https://api.vultr.com/v2/inference/<inference-id>" \
-X DELETE \
-H "Authorization: Bearer ${VULTR_API_KEY}"
List all the inference services available and note the target inference service's ID.
$ vultr-cli inference list
Delete the target inference service.
$ vultr-cli inference delete <inference-id>