AnsweredAssumed Answered

User not authorized to perform that action

Question asked by Valerian Anderson on Apr 11, 2019
Latest reply on Apr 11, 2019 by Valerian Anderson

I am getting an unauthorized error when attempting to view user page views while using a token generated from my admin account.


The error is: "user not authorized to perform that action"


The following API call produces the error:

curl https://<institution> \

-X GET \

-H 'Authorization: Bearer :admin_token'


However, a call to "self" works:

curl https://<institution> \

-X GET \

-H 'Authorization: Bearer :admin_token'


What are the permissions needed to view other users' page views?