curl --request GET \
--url http://localhost:3000/plan-limits/plans \
--header 'Authorization: Bearer <token>'{
"statusCode": 123,
"message": "OK",
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"max_projects": 123,
"max_flags": 123,
"max_environments": 123,
"max_api_calls": 123,
"trial_days": 123,
"most_popular": false,
"product_link": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"stripe_product_id": "<string>",
"stripe_price_id": "<string>",
"stripe_monthly_price_id": "<string>",
"stripe_annual_price_id": "<string>",
"overage_rate_eur_cents": 123,
"overage_block_size": 123,
"grace_buffer_pct": 123
}
]
}List all available plans in the system. Accessible only to support admins.
curl --request GET \
--url http://localhost:3000/plan-limits/plans \
--header 'Authorization: Bearer <token>'{
"statusCode": 123,
"message": "OK",
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"max_projects": 123,
"max_flags": 123,
"max_environments": 123,
"max_api_calls": 123,
"trial_days": 123,
"most_popular": false,
"product_link": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"stripe_product_id": "<string>",
"stripe_price_id": "<string>",
"stripe_monthly_price_id": "<string>",
"stripe_annual_price_id": "<string>",
"overage_rate_eur_cents": 123,
"overage_block_size": 123,
"grace_buffer_pct": 123
}
]
}