Get Person Entitlements

GET
/api/v1/persons/{personId}/entitlements

Path Parameters

personId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/persons/string/entitlements"
{  "grants": [    {      "expiresAt": "string",      "perkId": "string",      "source": "subscription",      "sourceId": "string",      "sourcePersonId": "string",      "status": "active"    }  ]}
{  "_tag": "Api/NotAuthenticatedError",  "message": "string"}
{  "_tag": "Api/ActionForbiddenError",  "message": "string"}
{  "_tag": "Api/PersonNotFoundError",  "id": "string"}
{  "_tag": "Api/PersonServiceError",  "cause": "string"}