Policies

Gets a specific Policy.

This endpoint returns a specific policy.

Sample Request
  curl -X GET https://console.jumpcloud.com/api/v2/policies/{PolicyID} \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}'
get/policies/{id}

Request

Headers

x-org-idstring

Organization identifier that can be obtained from console settings.

Response

OK

idstring

ObjectId uniquely identifying a Policy.

namestring

The description for this specific Policy.

notesstring

The notes for this specific Policy.

Example response

{
  "template": {
    "osRestrictions": [
      {
        "with-apple-restrictions": {
          "osName": "iPadOS",
          "earliestVersion": "14.1",
          "deprecatedVersion": "16.2",
          "appleRestrictions": {
            "requiresSupervision": false,
            "supportedEnrollmentTypes": [
              "automated",
              "device",
              "user"
            ]
          }
        }
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.