Skip to main content

Delete Profiles

To delete 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 deleteProfiles = await instance.kcProfile.deleteProfile({
args: {
profileIds: ['YOUR_PROFILE_ID1', 'YOUR_PROFILE_ID2'],
}, // <- other optional param
});

console.log(deleteProfiles);

Input parameters:

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

Output:

  • completed status response code and message is output.