cURL
curl --request GET \ --url http://127.0.0.1:8080/v1/c/entitlement/{customer_id}/access \ --header 'wb-key: <api-key>'
{ "contract": { "contract_id": "Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670", "status": "active" }, "customer": { "status": "active" }, "plan": { "entitlement_details": { "pricing_strategy": "flat" }, "features": [ { "entitlement_details": { "pricing_strategy": "flat" }, "name": "<string>", "original_feature_id": "Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670", "slug": "<string>" } ], "name": "<string>", "original_plan_id": "Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670", "slug": "<string>" } }
Retrieve a list of all features a customer currently has access to.
Id of the customer
Features user has access to
Data to show what features the given user should have access to