nuvio
nuvio

Reputation: 2625

wso2 api manager new throttling tier

Can I define a new throttling tier like: "unlimited use for 30 days"?

 <wsp:Policy>
            <throttle:ID throttle:type="ROLE">30-days</throttle:ID>
            <wsp:Policy>
                <throttle:Control>
                    <wsp:Policy>
                        <throttle:MaximumCount> ? </throttle:MaximumCount>
                        <throttle:UnitTime> ? </throttle:UnitTime>

                    </wsp:Policy>
                </throttle:Control>
            </wsp:Policy>

EDIT: the goal is to make "expire" the subscription of a certain API for a certain user after 30 days...is it possible?

Upvotes: 1

Views: 249

Answers (1)

Johann
Johann

Reputation: 281

You can't specify your requirement with the two parameters MaximumCount and UnitTime in a policy file. The solution as of now for your requirement would be to publish your API using the predefined Unlimited tier in the API Publisher, and manually remove it from the API gateway by changing the life cycle state of the API from Published to Created after a month's time.

Upvotes: 1

Related Questions