com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Configuring a VPN for applications on iOS Devices

Overview

DescriptionConfigure a VPN on iOS device applications.
Resource Path/perappvpn
URL/ios/operation/perappvpn
HTTP MethodPOST
Request/Response Formatapplication/json

Sample request

{
  "operation": {
    "identifier": "com.wso2.emm.agent",
    "iTunesStoreID": "281796108",
    "removeAppUponMDMProfileRemoval": true,
    "preventBackupOfAppData": false
  },
  "deviceIDs": [
    "2be702beaaf4ad34fc9e7f8da2b6b808c453fa72b",
    "2ec33430ad456713c633de75b2219376bac45de56"
  ]
}

For information on the property definitions, see Resource Definition to Configure a VPN for Applications on iOS Devices.

cURL command

curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer <EMM_API_TOKEN>" -d @'<JSON_PAYLOAD>' -k -v https://<EMM_HOST>:<EMM_HTTPS_PORT>/ios/operation/perappvpn
  • For more information on how to generate the EMM API token, see Generating the EMM API Token.
  • Define the path to the JSON file as the  <JSON_PAYLOAD>  value.
  • By default, <EMM_HOST> is localhost. However, if you are using a public IP, the respective IP address or domain needs to be specified.
  • By default, <EMM_HTTPS_PORT> has been set to 9443. However, if the port offset has been incremented by n, the default port value needs to be incremented by n.

For example:

curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer 33392fb365b3ac693b405b565ddc8a3a" -d @'test.json' -k -v https://ip:9443/ios/operation/perappvpn
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.