Skip to content

Refresh a access model

Request

Refreshes the user's access model.

Security
ZephrHmacHttp
Path
user_idstringrequired

Unique User identifier

cURL
curl -i -X POST \
  'https://demo.api.zephr.com/v3/users/{user_id}/authorization/refresh' \
  -H 'Authorization: ZEPHR-HMAC-* <YOUR_TOKEN_HERE>'

Responses

OK

Headers
any
Bodyapplication/json
metersobject
creditsobject
delivered_entitlementsArray of objects(delivered_entitlement)
granted_bundlesArray of strings
Example:
[ "e10a5ff3-fc63-47fb-af04-75c2ec3fdf1c" ]
jwt_bundlesArray of items
Example:
[]
user_statestring
Example:"registered"
Response
{ "meters": {}, "credits": {}, "delivered_entitlements": [ { … } ] }