Skip to main content

Get License Detail (By License ID)

To get the license detail(By License ID) of KnoxConfigure, use the following methods.

Example

import { KnoxInstance } from '@redredgroup/samsungknox-api';
const instance = new KnoxInstance({
region: 'YOUR_KNOX_REGION',
knoxAccessToken: 'YOUR_JWT_TOKEN',
});

const getLicenseDetailById = await instance.kcLicense.getLicenseDetailByLicenseId({
args: {
licenseId: 'YOUR_LICENSE_ID',
},
});

console.log(getLicenseDetailById);

Input parameters:

  • args: Insert parameters for the profile (required) licenseId.
  • region: Insert the Knox region. Most of them are EU (case insensitive)
  • knoxAccessToken: Your X-KNOX-APITOKEN.

Output:

  • Respond with the details of that license ID.