You are using a REST client testing tool like Postman. When switching Bearer Tokens, the server rejects the request with a 401 Unauthorized
The Bearer Token is from a user that has full API access rights in Clarity.
Release : 16.0.3
Clarity returns a cookie to the caller. Subsequent requests will send that cookie. The cookie is tied to the user that made the initial request. So if the Bearer Token is changed, the call will fail as the clarity cookie from the previous user is sent.
The following error will appear in the app-ca.log file
Some Rest clients will store a cookie returned by Clarity. If a request is made but the Bearer Token is different, the request will get rejected with a 401
The solution is to clear the cookies before switching the Bearer Token.