Deleting a model price¶
Note
The Admin API requires no token. The Admin API is typically protected at the network level.
Send the request as DELETE to the path /admin/v1/model-prices/{provider}/{model}.
Description¶
Removes the pricing record. Subsequent requests for this model fall back to built-in price defaults, or report zero cost if not in the defaults. URL-encode the model name if it contains slashes.
Request¶
The following parameters are available:
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
provider |
path | string |
yes | Name of the provider. |
model |
path | string |
yes | Name of the model. |
Responses¶
The endpoint answers the request with the following status codes:
| Status code | Description |
|---|---|
200 |
Operation succeeded. |