delete dedicated endpoint
delete_dedicated_endpointPermanently tear down a dedicated endpoint: runs a final meter to bill accrued GPU-hours, releases reserved GPUs, and marks it deleted so you stop paying for it.
Instructions
Tears down a dedicated endpoint: meters and bills the GPU-hours accrued since the last meter, frees the reserved GPUs, and marks it DELETED — the way to permanently stop paying for an endpoint. DELETE /v1/dedicated/{id} (API-key scope: platform:write). Returns: { ok: true } on success. Notes: Requires an OWNER/ADMIN minting user (403). 404 'Endpoint not found' (already-deleted endpoints also 404). MONEY: runs a final meter first (bills accrued GPU-hours), then releases the endpoint; soft-deleted (status DELETED, enabled=false) and excluded from later lists. Not reversible. Scope note: local dedicated apiKeyActor does not enforce key scopes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Dedicated endpoint id (must belong to the key's workspace). |