Admin API reference
/v4 API
//
List account grants
Retrieves a list of account grants.
Security
ZephrHmacHttp
- https://demo.api.zephr.comhttps://demo.api.zephr.com/v3/accounts/{accountId}/grants
curl -i -X GET \
'https://demo.api.zephr.com/v3/accounts/{accountId}/grants' \
-H 'Authorization: ZEPHR-HMAC-* <YOUR_TOKEN_HERE>'OK
Array []
An enum describing the type of the entitlement.
Enum:"bundle""entitlement""meter""credits"
Response
[ { "grantId": "e196ad75-a6d0-471b-90b3-de3843dd7860", "user_id": "e1812285-2f21-441e-8be4-b08835cd4b2c", "account_id": "14515649-565f-4b1c-8346-eb98301c1d6b", "expiry_state": "pending", "entitlement_type": "bundle", "entitlement_id": "b74df5c4-fded-492c-ad90-07646bded5db", "startTime": "2022-06-01 00:00:00", "endTime": "2022-12-31 23:59:59", "product_id": "86abb44a-e6f2-4f9b-ac26-46ae0a13ed31", "createdAt": "2022-05-31 23:59:59" } ]