Skip to main content

Create Application Profile

To Create the application profile 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 kcCreateApplicationProfile = await instance.kcContentManagementApplication.createApplicationProfile({
args: {
additionalEula: {
termsAndConditions: 'YOUR_TERMS_AND_CONDITIONS',
title: 'YOUR_TITLE',
},
name: 'YOUR_PROFILE_NAME',
}, // <- other optional param
});

console.log(kcCreateApplicationProfile);

Input parameters:

  • args: Insert parameters for the application profile (required) additionalEula(termsAndConditions, title) and name.
  • region: Insert the Knox region. Most of them are EU (case insensitive)
  • knoxAccessToken: Your X-KNOX-APITOKEN.

Output:

  • Response with the results of the application profile created.