id
of both.
access
boolean being true
when the user has access (for Binary features), has enough of a feature remaining to be used (for Consumable features), or has overage enabled (for Consumable features).
false
only if there’s no more of the feature be used by a delta of 1. We will not consider any greater delta currently. If the delta
you need to provide when recording usage of the feature is greater than 1, you will need to understand if the user can access the feature yourself by using the returnedConsumption object and calculating the amount remaining via the used
and budget
fields.messages
feature, your users may be able to send messages via your UI and through an API call - both should block access when necessary.
You may want to also implement something similar on the backend of your application for those actions which don’t touch the frontend, or for any redirects before page load that you may want to action.
Block Feature Access (Frontend)
If you haven’t yet recorded usage of your features when access is granted, we strongly recommend this as a next step. It’s a key requirement in order for us to understand a user’s entitlement towards a feature.
Record Feature Usage