Managing SCM Rest API Tokens

Specification Compliance Manager requires a token in the authorization header to use the SCM Rest API functions in specification compliance applications. You can generate new tokens and delete existing tokens through the Specification Compliance Manager interface.

  • Log in to Specification Compliance Manager.
  1. Open the user menu in the top-right corner of Specification Compliance Manager.
  2. Select User Settings.
  3. Select Manage API Tokens in the left navigation pane.
  4. Click Create API Token.
  5. Enter a unique name for the token. The token name can contain alphanumeric characters and special characters.
  6. Copy the API token that the interface generates.
    Tip The API token is only available at this point. Ensure that you copy this token for future reference before you proceed.
  • Include the generated API token in the authorization header of your applications to enable the use of SCM Rest APIs.
  • To view public SCM Rest API reference documentation, navigate to /swagger on a machine connected to the Specification Compliance Manager server. For example, http://MyMachine/niscm/swagger where MyMachine is the name of the local machine.
  • To delete an API token, open the Manage API Tokens menu and click the trash can icon in the row for the API token you want to delete.
  • To revoke all API tokens, open the Manage API Tokens menu and click Revoke All.