Skip to main content
Skip table of contents

profile/{GUID}

A specific policy profile.

GET

Get details for a policy profile, specified by profile ID.

This method returns an error if you use a profile ID that has been archived. See Policy profiles for details on active and archived policy profiles.

Parameters

ParameterDescription
GUIDRequired. The profile ID, a GUID for the profile you want to look up. This value is returned as the profile_id value in GET  profile/catalog or GET profile/catalog/{policytype}.

Example request

Request

CODE
curl -b c.txt -c c.txt -X GET https://bc.qwe.com/mocana-app-control/rest/profile/
10aa5b57-09ca-4e4b-a61c-7eae1e46d17c

Response

CODE
{
  "message": "", 
  "profiles": {
    "data": { "{\"vpnMode\":\"Aggressive\",\"vpnOverridePass\":\"1\",\"vpnGroup\":\"\",\"vpnDhGroup\":\"0\",\"vpnUsername\":\"\",\"vpnOverrideVpnMode\":\"1\",\"vpnOverridePsk\":\"1\",\"vpnServerName\":\"\",\"vpnPsk\":\"eMA0WJOJ83j4R4hrHLGRjBvaWPlk1VVi\",\"vpnUserAuth\":\"req\",\"vpnProtocol\":\"ipsec\",\"vpnOverrideDhGroup\":\"1\",\"vpnPassword\":\"\",\"vpnCaCert\":\"\",\"vpnOverrideUsername\":\"1\",\"vpnOverrideServer\":\"\",\"vpnServerAddr\":\"remote.qwe.com\",\"vpnOverrideVpnGroup\":\"1\",\"vpnIkeType\":\"11\",\"vpnAuthMethod\":\"key\",\"vpnIkeVersion\":\"1\"}" ,
      "profile_data_id": "65096deb-bd40-4393-b1c9-5c359892af1c",
      "profile_data_stamp": "2012-04-04 09:38:54.0" 
    },
    "profile_desc": "",
    "profile_id": "3f9ec398-0161-4f51-b5fc-253d2b1e2e56",
    "profile_name": "nw_linksys_cert",
    "profile_type": "vpn",
    "profile_url": "https://bc.qwe.com/mocana-app-control/rest/profile/3f9ec398-0161-4f51-b5fc-253d2b1e2e56"
  },
  "status": "OK" 
}

DELETE

Remove a policy profile. (To remove a browser profile, use DELETE profile/mocana-browser/{GUID}.)

Because a secured app can be associated with a profile after the profile has been deleted, the policy console keeps an archive of every profile that has been deleted. Deleted profiles cannot be used when securing apps.

See Policy profiles for details of how the policy console stores policy profiles.

Parameters

ParameterDescription
GUIDRequired. The profile ID, a GUID for the profile you want to archive. To find the GUIDs for all active profiles, use  GET  profile/catalog. 

Example request

Request

CODE
curl -b c.txt -c c.txt -X 
  DELETE https://bc.qwe.com/mocana-app-control/rest/profile/2c364bfe-014e-4661-9c09-99e01de77849
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.