How to validate the Token Type generated in Sonarqube

The concern here is that i want to verify the type of token which i have generated from the security section of sonarqube.

So is there any api for same to check whether the create token belongs to User Token / Global Analysis Token / Project Analysis Token.

Hey there.

The token has a prefix, like squ_, sqa_ and sqp_ for user, global analysis, and project tokens respectively.