🔨 In Development — This section is still being developed and may change.
DELETE/v1/pricing-tiers/{tier_id}
Delete (soft delete) a pricing tier.
Admin only - Requires admin privileges. Default pricing tiers (tier_standard, tier_poc, tier_enterprise) cannot be deleted.
tier_id string required
The unique identifier of the pricing tier to delete.
Returns a 204 No Content response on successful deletion.
cURL
- Bash
- Python
- JavaScript
curl -X DELETE https://api.aitronos.com/v1/pricing-tiers/tier_custom \
-H "X-API-Key: $FREDDY_API_KEY"Returns 204 No Content on success.
{
"success": false,
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Pricing tier 'tier_custom' not found",
"status": 404
}
}{
"success": false,
"error": {
"code": "OPERATION_NOT_ALLOWED",
"message": "Cannot delete default pricing tier 'tier_standard'",
"status": 409,
"details": {
"tier_id": "tier_standard"
}
}
}