Delete a custom model pricing entry
Changed onDelete one of your model rates by id. The row is closed rather than removed, so spend already priced against it keeps that rate. Usage still pinned to it stops resolving a price, so re-pin before deleting. Superseded by DELETE /v1/marketplace/models/{id}, which returns RFC 9457 problem responses on failure.
Request
- Base URLhttps://pricing.baselinehq.cloud
- Auth
- API key in header X-API-Key
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Model pricing ID
Response
Pricing response for custom model pricing
Changes
- info
added the non-success response with the status
- info
- warning
added the new
cache_readenum value to the//response property for the response status - warning
added the new
cache_writeenum value to the//response property for the response status - warning
added the new
inputenum value to the//response property for the response status - warning
added the new
outputenum value to the//response property for the response status
- warning