Error calling end point

I have been making calls to the LAST_LOC endpoint ( https://api.ic.peplink.com/rest/o/{group_id}/last_loc) for some time. It just stopped working. I receive the following error:

Error: 401 - Access denied for this resource, no user access right

Calls to other endpoints still work, I have asked if some of my rights have been revoked, but have been told that they haven’t. Could this be due to usage? Any help troubleshooting this appreciated. Thank!

-Pete Kohler

I assume you are using an access token generated by your username of domain “rxxxxv.com”. I notice you are a group administrator. But the API endpoint you access is an organization level one. I suggest you to change to use the endpoint: https://api.ic.peplink.com/rest/o/{org_id}/g/{group_id}/loc.

1 Like

Thanks Michael!