This request deletes the cost price for an AI model. Usage logged for a model without a price gets costUSD/costDKK: null (and a syslog warning); the devops script src/sandbox/voice/recompute-ai-costs.ts can fill in costs afterwards once a price exists again.
| URL | https://api.telecomx.dk/ai/pricing/:id | |
|---|---|---|
| Method | DELETE | |
| Access level | ADMIN | |
| Params | id | Id of the price entry to delete. |
| Property | Type | Description |
|---|---|---|
| success | Boolean | True. |
| Error code | Message | Description |
|---|---|---|
| 400 | validation | Invalid id |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |