POST environment/enrollment-settings

Sets the default enrollment settings for the Environment of current API consumer.

Remarks

C4M Error Code returned:

  • EnvironmentNotFound

    The specified environment does not exist.

HTTP Status returned:
  • 403 - Forbidden

    The authenticated user doesn't have permission to access the resource.

Request Information

Parameters

NameDescriptionAdditional information
enrollmentSettingsRequest
Default enrollment settings for the environment.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "enableSystemApps": true,
  "skipDeviceEncryption": true,
  "wifiSettings": {
    "autoConnect": true,
    "eap": {
      "anonymousIdentity": "sample string 1",
      "clientCertificate": "sample string 2",
      "identity": "sample string 3",
      "method": 0,
      "password": "sample string 4",
      "phase2Method": 0,
      "serverCertificateAuthorities": null
    },
    "hiddenSsid": true,
    "name": "sample string 3",
    "passphrase": "sample string 4",
    "security": 0,
    "ssid": "sample string 5"
  }
}

Response Information

Information about the authorized Environment as EnvironmentResponseDto.

Response body formats

application/json, text/json

Sample:
{
  "enableSystemApps": true,
  "skipDeviceEncryption": true,
  "wifiSettings": {
    "autoConnect": true,
    "eap": {
      "anonymousIdentity": "sample string 1",
      "clientCertificate": "sample string 2",
      "identity": "sample string 3",
      "method": 0,
      "password": "sample string 4",
      "phase2Method": 0,
      "serverCertificateAuthorities": null
    },
    "hiddenSsid": true,
    "name": "sample string 3",
    "passphrase": "sample string 4",
    "security": 0,
    "ssid": "sample string 5"
  }
}