Remove Pricing Tier from a Tenant
Remove a pricing tier from a tenant.
DELETE /v1/tenants/:tenantId/pricing-tiers/:pricingTierId
Parameters
Parameter | Description | Type | Required |
---|---|---|---|
tenantId | The tenantId of the tenant you want to remove the pricing tier from. | URL param | yes |
pricingTierId | The pricingTierId of the pricing tier you want to remove from the tenant. | URL param | yes |
Request
- Curl
- Go
- Java
- Node.js
- Python
- Ruby
- PHP
- CLI
curl "https://api.warrant.dev/v1/tenants/tenant1/pricing-tiers/enterprise-tier" \
-X DELETE \
-H "Authorization: ApiKey YOUR_KEY"
err := pricingtier.RemovePricingTierFromTenant("enterprise-tier", "tenant1")
client.removePricingTierFromTenant("enterprise-tier", "tenant1");
// Class method
await warrantClient.PricingTier.removePricingTierFromTenant(
"my-tenant",
"enterprise-tier"
);
// Instance method
const tenant = await warrantClient.Tenant.get("my-tenant");
await tenant.removePricingTier("enterprise-tier");
# Class method
warrant.PricingTier.remove_from_tenant("my-tenant", "enterprise-tier")
# Instance method
tenant = warrant.Tenant.get("my-tenant")
tenant.remove_pricing_tier("enterprise-tier")
# Class method
Warrant::PricingTier.remove_from_tenant("tenant1", "enterprise-tier")
# Instance method
tenant = Warrant::Tenant.get("tenant1")
tenant.remove_pricing_tier("enterprise-tier")
Response
200 OK