Skip to main content
Legacy API

The examples on this page use the legacy contract. They are not v2 fallbacks. Operations without a v2 equivalent remain legacy-only. See the Configure v2 migration guide.

Get Profiles

To get the profiles 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 getProfiles = await instance.kcProfile.getProfiles({
args: {}, // <- other optional param
});

console.log(getProfiles);

Input parameters:

Output:

  • Profiles registered with KnoxConfigure respond in Array format.