Skip to main content

Create a Pricing Tier

Create a new pricing tier.

POST /v1/pricing-tiers

Parameters

ParameterDescriptionTypeRequired
pricingTierIdA string identifier for the pricing tier. A pricingTierId must be composed of alphanumeric chars and/or _, -, ., @, |, and :.JSON bodyyes
nameAn optional, display-friendly name for the pricing tier.JSON bodyno
descriptionAn optional description of the pricing tier. A useful description might include a summary of the functionality the pricing tier grants.JSON bodyno

Request

curl "https://api.warrant.dev/v1/pricing-tiers" \
-X POST \
-H "Authorization: ApiKey YOUR_KEY" \
--data-raw \
'{
"pricingTierId": "enterprise",
"name": "Enterprise",
"description": "Grants the tenant access to enterprise features with no usage restrictions"
}'

Response

{
"pricingTierId": "enterprise",
"name": "Enterprise",
"description": "Grants the tenant access to enterprise features with no usage restrictions"
}