Remove Feature from a Pricing Tier
Remove a feature from a pricing tier.
DELETE /v1/pricing-tiers/:pricingTierId/features/:featureId
Parameters
Parameter | Description | Type | Required |
---|---|---|---|
pricingTierId | The pricingTierId of the pricing tier you want to remove the feature from. | URL param | yes |
featureId | The featureId of the feature you want to remove from the pricing tier. | URL param | yes |
Request
- Curl
- Go
- Java
- Node.js
- Python
- Ruby
- PHP
- CLI
curl "https://api.warrant.dev/v1/pricing-tiers/enterprise-tier/features/dashboard" \
-X DELETE \
-H "Authorization: ApiKey YOUR_KEY"
err := feature.RemoveFeatureFromPricingTier("dashboard", "enterprise-tier")
client.removeFeatureFromPricingTier("dashboard", "enterprise-tier");
// Class method
await warrantClient.Feature.removeFeatureFromPricingTier(
"enterprise-tier",
"dashboard"
);
// Instance method
const tenant = await warrantClient.Tenant.get("tenant1");
await tenant.removeFeature("dashboard");
# Class method
warrant.Feature.remove_from_pricing_tier("enterprise-tier", "dashboard")
# Instance method
pricing_tier = warrant.PricingTier.get("enterprise-tier")
pricing_tier.remove_feature("dashboard")
# Class method
Warrant::Feature.remove_from_pricing_tier("enterprise-tier", "dashboard")
# Instance method
pricing_tier = Warrant::PricingTier.get("enterprise-tier")
pricing_tier.remove_feature("dashboard")
Response
200 OK