Generate an PrimeHub API Token
Enterprise
    Applicable to Enterprise Edition
  
  Community
    Applicable to Community Edition
  
PrimeHub provides API to allow third party program to access. Regarding querying API, a valid token is mandatory. Here are steps generating a valid token.
Steps
Go to
User Portaland hover over the top-right icon.Click
API Token.Click
Request API Tokento generate a new token, any existing token will be revoked.
Verify the new token by following the curl example to query PrimeHub in the circumstance.