To retrieve License Service data with the dedicated APIs, you need to use the proper authentication method. You can authenticate by using the service account or License Service token.
License Service API token - Basic authentication method that uses a static token which is generated and saved in the License Service secret. This token is passed as the following URL parameter:
If your security policy does not allow you to provide a token as URL parameter, you can disable this option. For more information, see Disabling License Service API token as URL parameter.
Service account token - Advanced and customizable authorization method that is based on a service account token which is provided by the request header field.