Remove Feature from a Pricing Tier
Remove a feature from a pricing tier.
caution
This endpoint has been deprecated and will be phased out at the end of 2023. Please update any existing usages of it to use the Delete Warrant endpoint instead.
Endpoint
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"
wookie, 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