Skip to main content

Assign Profile Device

To unassign Profile a device for 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 kcUnassignProfileDevice = await instance.kcDevice.unassignProfileDevices({
args: {
deviceIds: ['YOUR_DEVICE_ID1', 'YOUR_DEVICE_ID2'],
}, // <- other optional param
});

console.log(kcUnassignProfileDevice);

Input parameters:

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

Output:

  • Responds with a number that represents the result of hedging the profile assignment of the device to which the profile is assigned.