Get portal token and licensing stateget http://localhost:3001/rest/json/spPortal/licenses/tokensUse this api to check portal token and licensing state