---
updatedAt: 2026-08-29T02:45:53.000Z
agentTools:
  siteIndex: https://developer.jamf.com/llms.txt
  projectIndex: https://developer.jamf.com/platform-api/llms.txt
---

# Create a Computer Prestage


Create a computer prestage

**Required Permissions:** `prestage-enrollments:create`

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Jamf Pro",
    "termsOfService": "https://www.jamf.com/developer-resources/api-license-agreement/",
    "version": "11.33.0",
    "description": "Comprehensive Jamf Pro management API for enterprise device management, configuration, and automation.",
    "contact": {
      "name": "Jamf Developer",
      "url": "https://developer.jamf.com"
    }
  },
  "servers": [
    {
      "url": "https://{region}.api.jamfcloud.com/pro",
      "description": "Jamf Beta API Gateway - prod",
      "variables": {
        "region": {
          "default": "us",
          "enum": [
            "us",
            "eu",
            "apac"
          ],
          "description": "Geographic deployment region"
        }
      }
    }
  ],
  "x-readme": {
    "samples-languages": [
      "curl",
      "swift",
      "ruby",
      "python"
    ],
    "explorer-enabled": false
  },
  "security": [
    {
      "oauth2": []
    }
  ],
  "paths": {
    "/v3/computer-prestages": {
      "post": {
        "tags": [
          "computer-prestages"
        ],
        "summary": "Create a Computer Prestage\n",
        "description": "Create a computer prestage\n\n**Required Permissions:** `prestage-enrollments:create`",
        "requestBody": {
          "description": "Computer Prestage to create. ids defined in this body will be ignored",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostComputerPrestageV3"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Computer Prestage was created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HrefResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "x-required-privileges": [
          "prestage-enrollments:create"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/X-Tenant-Id"
          },
          {
            "$ref": "#/components/parameters/X-Environment-Id"
          }
        ],
        "security": [
          {
            "oauth2": [
              "prestage-enrollments:create"
            ]
          }
        ],
        "x-required-privileges-legacy": [
          "Create Computer PreStage Enrollments"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "AccountSettingsRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "id of Account Settings",
            "nullable": false,
            "example": "1"
          },
          "payloadConfigured": {
            "type": "boolean",
            "nullable": false,
            "example": true,
            "default": false
          },
          "localAdminAccountEnabled": {
            "type": "boolean",
            "nullable": false,
            "example": true,
            "default": false
          },
          "adminUsername": {
            "minLength": 0,
            "type": "string",
            "nullable": false,
            "example": "admin",
            "default": ""
          },
          "adminPassword": {
            "minLength": 0,
            "type": "string",
            "nullable": false,
            "writeOnly": true,
            "example": "password",
            "default": ""
          },
          "hiddenAdminAccount": {
            "type": "boolean",
            "nullable": false,
            "example": false,
            "default": false
          },
          "localUserManaged": {
            "type": "boolean",
            "nullable": false,
            "example": true,
            "default": false
          },
          "userAccountType": {
            "type": "string",
            "nullable": false,
            "default": "STANDARD",
            "enum": [
              "ADMINISTRATOR",
              "STANDARD",
              "SKIP"
            ]
          },
          "versionLock": {
            "type": "integer",
            "nullable": false,
            "example": 4,
            "default": 0
          },
          "prefillPrimaryAccountInfoFeatureEnabled": {
            "type": "boolean",
            "nullable": false,
            "example": true,
            "default": false
          },
          "prefillType": {
            "type": "string",
            "description": "Values accepted are only CUSTOM and DEVICE_OWNER",
            "nullable": false,
            "example": "DEVICE_OWNER",
            "default": "CUSTOM"
          },
          "prefillAccountFullName": {
            "minLength": 0,
            "type": "string",
            "nullable": false,
            "example": "TestUser FullName",
            "default": ""
          },
          "prefillAccountUserName": {
            "minLength": 0,
            "type": "string",
            "nullable": false,
            "example": "UserName",
            "default": ""
          },
          "preventPrefillInfoFromModification": {
            "type": "boolean",
            "nullable": false,
            "example": false,
            "default": false
          }
        }
      },
      "ApiError": {
        "type": "object",
        "properties": {
          "httpStatus": {
            "type": "integer",
            "description": "HTTP status of the response",
            "example": 400
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ApiErrorCause"
            }
          }
        }
      },
      "ApiErrorCause": {
        "required": [
          "field"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "Error-specific code that can be used to identify localization string, etc.",
            "example": "8675309"
          },
          "field": {
            "type": "string",
            "description": "Name of the field that caused the error.",
            "example": "Name"
          },
          "description": {
            "type": "string",
            "description": "A general description of error for troubleshooting/debugging. Generally this text should not be displayed to a user; instead refer to errorCode and it's localized text",
            "example": "I've just picked up a fault in the AE35 unit. It's going to go 100% failure in 72 hours"
          },
          "id": {
            "type": "string",
            "description": "id of object with error. Optional.",
            "nullable": true,
            "example": "3"
          }
        }
      },
      "ComputerPrestageV3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/DeviceEnrollmentPrestageV2"
          },
          {
            "required": [
              "customPackageDistributionPointId",
              "customPackageIds",
              "installProfilesDuringSetup",
              "prestageInstalledProfileIds"
            ],
            "type": "object",
            "properties": {
              "installProfilesDuringSetup": {
                "type": "boolean",
                "nullable": false,
                "example": true
              },
              "prestageInstalledProfileIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "example": "1"
                }
              },
              "customPackageIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "example": "1"
                }
              },
              "customPackageDistributionPointId": {
                "type": "string",
                "example": "1"
              },
              "enableRecoveryLock": {
                "type": "boolean",
                "nullable": false,
                "example": true
              },
              "recoveryLockPasswordType": {
                "type": "string",
                "nullable": false,
                "example": "MANUAL",
                "enum": [
                  "MANUAL",
                  "RANDOM"
                ]
              },
              "rotateRecoveryLockPassword": {
                "type": "boolean",
                "nullable": false,
                "example": true
              },
              "prestageMinimumOsTargetVersionType": {
                "type": "string",
                "nullable": false,
                "example": "MINIMUM_OS_LATEST_VERSION",
                "enum": [
                  "NO_ENFORCEMENT",
                  "MINIMUM_OS_LATEST_VERSION",
                  "MINIMUM_OS_LATEST_MAJOR_VERSION",
                  "MINIMUM_OS_LATEST_MINOR_VERSION",
                  "MINIMUM_OS_SPECIFIC_VERSION"
                ]
              },
              "minimumOsSpecificVersion": {
                "minLength": 0,
                "type": "string",
                "nullable": false,
                "example": "17.1"
              },
              "pssoEnabled": {
                "type": "boolean",
                "description": "Indicates whether Platform SSO (PSSO) is enabled for this computer prestage, regardless of Device first or Identity first workflows. When enabled, the PSSO application will be deployed to devices during the setup process to facilitate single sign-on (SSO) for users.",
                "example": true,
                "default": false
              },
              "platformSsoAppBundleId": {
                "type": "string",
                "description": "The bundle identifier for the Platform SSO (PSSO) application Device first workflow. This identifier is used to specify which PSSO app should be deployed to devices during the setup process.",
                "example": "com.okta.mobile"
              },
              "profileUrl": {
                "type": "string",
                "description": "The URL to the configuration profile for the Platform SSO (PSSO) application Identity first workflow. This URL is used when deploying the PSSO app to devices during the setup process. Users should use either profileUrl or populate pssoConfigProfileId, but not both.",
                "nullable": true,
                "example": "https://mdmserver.example.com/psso.mobileconfig"
              },
              "pssoConfigProfileId": {
                "type": "string",
                "description": "The identifier for the configuration profile associated with the Platform SSO (PSSO) application Identity first workflow. This ID is used to specify which configuration profile should be applied to devices during the setup process when PSSO is enabled. Users should use either pssoConfigProfileId or populate profileUrl, but not both.",
                "nullable": true,
                "example": "1"
              },
              "manifestUrl": {
                "type": "string",
                "description": "The URL to the manifest file for the Platform SSO (PSSO) application Identity first workflow. This URL is used when deploying the PSSO app to devices during the setup process.",
                "nullable": true,
                "example": "https://mdmserver.example.com/psso-app.plist"
              }
            }
          }
        ]
      },
      "DeviceEnrollmentPrestageV2": {
        "required": [
          "authenticationPrompt",
          "autoAdvanceSetup",
          "defaultPrestage",
          "department",
          "deviceEnrollmentProgramInstanceId",
          "displayName",
          "enableDeviceBasedActivationLock",
          "enrollmentSiteId",
          "keepExistingLocationInformation",
          "keepExistingSiteMembership",
          "locationInformation",
          "mandatory",
          "mdmRemovable",
          "preventActivationLock",
          "purchasingInformation",
          "requireAuthentication",
          "supportEmailAddress",
          "supportPhoneNumber"
        ],
        "type": "object",
        "properties": {
          "displayName": {
            "type": "string",
            "example": "Example Mobile Prestage Name"
          },
          "mandatory": {
            "type": "boolean",
            "example": false
          },
          "mdmRemovable": {
            "type": "boolean",
            "example": true
          },
          "supportPhoneNumber": {
            "type": "string",
            "example": "5555555555"
          },
          "supportEmailAddress": {
            "type": "string",
            "example": "example@example.com"
          },
          "department": {
            "type": "string",
            "example": "Oxbow"
          },
          "defaultPrestage": {
            "type": "boolean",
            "example": false
          },
          "enrollmentSiteId": {
            "type": "string",
            "example": "-1"
          },
          "keepExistingSiteMembership": {
            "type": "boolean",
            "example": true
          },
          "keepExistingLocationInformation": {
            "type": "boolean",
            "example": true
          },
          "requireAuthentication": {
            "type": "boolean",
            "example": true
          },
          "authenticationPrompt": {
            "type": "string",
            "example": "LDAP authentication prompt"
          },
          "preventActivationLock": {
            "type": "boolean",
            "example": true
          },
          "enableDeviceBasedActivationLock": {
            "type": "boolean",
            "example": true
          },
          "deviceEnrollmentProgramInstanceId": {
            "type": "string",
            "example": "5"
          },
          "skipSetupItems": {
            "type": "object",
            "additionalProperties": {
              "type": "boolean"
            },
            "example": {
              "Location": true,
              "Privacy": false
            }
          },
          "locationInformation": {
            "$ref": "#/components/schemas/LocationInformationV2"
          },
          "purchasingInformation": {
            "$ref": "#/components/schemas/PrestagePurchasingInformationV2"
          },
          "anchorCertificates": {
            "type": "array",
            "description": "The Base64 encoded PEM Certificate",
            "items": {
              "type": "string",
              "example": "xNE5HRgotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
            }
          },
          "enrollmentCustomizationId": {
            "type": "string",
            "example": "2"
          },
          "language": {
            "type": "string",
            "example": "en"
          },
          "region": {
            "type": "string",
            "example": "US"
          },
          "autoAdvanceSetup": {
            "type": "boolean",
            "example": true
          }
        }
      },
      "HrefResponse": {
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string",
            "example": "1"
          },
          "href": {
            "type": "string",
            "example": "https://yourJamfProUrl.jamf/api/v1/resource/1"
          }
        }
      },
      "LocationInformationV2": {
        "required": [
          "buildingId",
          "departmentId",
          "email",
          "id",
          "phone",
          "position",
          "realname",
          "room",
          "username",
          "versionLock"
        ],
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "example": "name"
          },
          "realname": {
            "type": "string",
            "example": "realName"
          },
          "phone": {
            "type": "string",
            "example": "123-456-7890"
          },
          "email": {
            "type": "string",
            "example": "test@jamf.com"
          },
          "room": {
            "type": "string",
            "example": "room"
          },
          "position": {
            "type": "string",
            "example": "postion"
          },
          "departmentId": {
            "type": "string",
            "example": "1"
          },
          "buildingId": {
            "type": "string",
            "example": "1"
          },
          "id": {
            "type": "string",
            "example": "-1"
          },
          "versionLock": {
            "type": "integer",
            "example": 1
          }
        }
      },
      "PostComputerPrestageV3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ComputerPrestageV3"
          },
          {
            "type": "object",
            "properties": {
              "accountSettings": {
                "$ref": "#/components/schemas/AccountSettingsRequest"
              },
              "recoveryLockPassword": {
                "minLength": 1,
                "type": "string",
                "format": "password",
                "writeOnly": true,
                "example": "password123"
              }
            }
          }
        ]
      },
      "PrestagePurchasingInformationV2": {
        "required": [
          "appleCareId",
          "id",
          "leaseDate",
          "leased",
          "lifeExpectancy",
          "poDate",
          "poNumber",
          "purchasePrice",
          "purchased",
          "purchasingAccount",
          "purchasingContact",
          "vendor",
          "versionLock",
          "warrantyDate"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "-1"
          },
          "leased": {
            "type": "boolean",
            "example": true
          },
          "purchased": {
            "type": "boolean",
            "example": true
          },
          "appleCareId": {
            "type": "string",
            "example": "abcd"
          },
          "poNumber": {
            "type": "string",
            "example": "53-1"
          },
          "vendor": {
            "type": "string",
            "example": "Example Vendor"
          },
          "purchasePrice": {
            "type": "string",
            "example": "$500"
          },
          "lifeExpectancy": {
            "type": "integer",
            "example": 5
          },
          "purchasingAccount": {
            "type": "string",
            "example": "admin"
          },
          "purchasingContact": {
            "type": "string",
            "example": "true"
          },
          "leaseDate": {
            "type": "string",
            "example": "2019-01-01"
          },
          "poDate": {
            "type": "string",
            "example": "2019-01-01"
          },
          "warrantyDate": {
            "type": "string",
            "example": "2019-01-01"
          },
          "versionLock": {
            "type": "integer",
            "example": 1
          }
        }
      }
    },
    "parameters": {
      "X-Tenant-Id": {
        "name": "X-Tenant-Id",
        "in": "header",
        "required": false,
        "description": "The tenant UUID identifier. Send it to address tenant scope. This API is also published at environment scope — send that scope's header instead. Send exactly one scope header per request.",
        "schema": {
          "type": "string",
          "format": "uuid",
          "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
          "example": "e77c1408-10c8-4007-b177-abc9157fbcaa"
        }
      },
      "X-Environment-Id": {
        "name": "X-Environment-Id",
        "in": "header",
        "required": false,
        "description": "The environment UUID identifier. Send it to address environment scope. This API is also published at tenant scope — send that scope's header instead. Send exactly one scope header per request.",
        "schema": {
          "type": "string",
          "format": "uuid",
          "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
          "example": "e77c1408-10c8-4007-b177-abc9157fbcaa"
        }
      }
    },
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "description": "Obtain an access token by calling the API Gateway's token endpoint using the OAuth2 client-credentials flow.",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://{region}.api.jamfcloud.com/auth/token",
            "scopes": {
              "access-management:read": "",
              "access-management:update": "",
              "account-groups:read": "",
              "accounts:create": "",
              "accounts:delete": "",
              "accounts:read": "",
              "accounts:update": "",
              "activation-code:read": "",
              "activation-code:update": "",
              "ad-cs-settings:create": "",
              "ad-cs-settings:delete": "",
              "ad-cs-settings:read": "",
              "ad-cs-settings:update": "",
              "advanced-device-searches:create": "",
              "advanced-device-searches:delete": "",
              "advanced-device-searches:read": "",
              "advanced-device-searches:update": "",
              "advanced-user-searches:create": "",
              "advanced-user-searches:delete": "",
              "advanced-user-searches:read": "",
              "advanced-user-searches:update": "",
              "apache-tomcat-settings:update": "",
              "app-request:read": "",
              "app-request:update": "",
              "apple-configurator-enrollment:read": "",
              "apple-configurator-enrollment:update": "",
              "applications:create": "",
              "applications:delete": "",
              "applications:read": "",
              "applications:update": "",
              "buildings:create": "",
              "buildings:delete": "",
              "buildings:read": "",
              "buildings:update": "",
              "cache:read": "",
              "cache:update": "",
              "categories:create": "",
              "categories:delete": "",
              "categories:read": "",
              "categories:update": "",
              "change-password:execute": "",
              "cloud-distribution-point:read": "",
              "cloud-distribution-point:update": "",
              "cloud-services-settings:read": "",
              "cloud-services-settings:update": "",
              "computer-check-in:read": "",
              "computer-check-in:update": "",
              "computer-device-lock-pin:read": "",
              "computer-inventory-collection-settings:read": "",
              "computer-inventory-collection-settings:update": "",
              "conditional-access:read": "",
              "custom-paths:create": "",
              "custom-paths:delete": "",
              "declarations:read": "",
              "departments:create": "",
              "departments:delete": "",
              "departments:read": "",
              "departments:update": "",
              "destructive-device-actions:execute": "",
              "device-actions:execute": "",
              "device-actions:read": "",
              "device-compliance-information:read": "",
              "device-enrollment-program-instances:create": "",
              "device-enrollment-program-instances:delete": "",
              "device-enrollment-program-instances:read": "",
              "device-enrollment-program-instances:update": "",
              "device-groups:create": "",
              "device-groups:delete": "",
              "device-groups:read": "",
              "device-groups:update": "",
              "devices:create": "",
              "devices:read": "",
              "devices:update": "",
              "digicert-settings:create": "",
              "digicert-settings:delete": "",
              "digicert-settings:read": "",
              "digicert-settings:update": "",
              "disk-encryption-recovery-key:read": "",
              "dismiss-notifications:execute": "",
              "distribution-points:create": "",
              "distribution-points:delete": "",
              "distribution-points:read": "",
              "distribution-points:update": "",
              "dock-items:create": "",
              "dock-items:delete": "",
              "dock-items:read": "",
              "dock-items:update": "",
              "ebooks:read": "",
              "enrollment-customization:create": "",
              "enrollment-customization:delete": "",
              "enrollment-customization:read": "",
              "enrollment-customization:update": "",
              "enrollment-profiles:read": "",
              "extension-attributes:create": "",
              "extension-attributes:delete": "",
              "extension-attributes:read": "",
              "extension-attributes:update": "",
              "gsx-connection:read": "",
              "gsx-connection:update": "",
              "impact-alert-notification-settings:read": "",
              "impact-alert-notification-settings:update": "",
              "inventory-preload-records:create": "",
              "inventory-preload-records:delete": "",
              "inventory-preload-records:read": "",
              "inventory-preload-records:update": "",
              "jamf-cloud-distribution-service-files:create": "",
              "jamf-cloud-distribution-service-files:delete": "",
              "jamf-cloud-distribution-service-files:read": "",
              "jamf-connect-deployments:deploy": "",
              "jamf-connect-deployments:read": "",
              "jamf-connect-deployments:update": "",
              "jamf-packages-action:read": "",
              "jamf-protect-deployments:deploy": "",
              "jamf-protect-deployments:read": "",
              "jamf-protect-deployments:update": "",
              "jss-information:read": "",
              "jss-url:read": "",
              "jss-url:update": "",
              "ldap-servers:create": "",
              "ldap-servers:delete": "",
              "ldap-servers:read": "",
              "ldap-servers:update": "",
              "local-admin-passwords:execute": "",
              "local-admin-passwords:read": "",
              "local-admin-passwords:update": "",
              "login-disclaimer:update": "",
              "m2m:read": "",
              "managed-software-updates:create": "",
              "managed-software-updates:read": "",
              "managed-software-updates:update": "",
              "mdm-profile-renewal-settings:read": "",
              "mdm-profile-renewal-settings:update": "",
              "onboarding:read": "",
              "onboarding:update": "",
              "packages:create": "",
              "packages:delete": "",
              "packages:read": "",
              "packages:update": "",
              "parent-app:read": "",
              "parent-app:update": "",
              "patch-management-software-titles:create": "",
              "patch-management-software-titles:delete": "",
              "patch-management-software-titles:read": "",
              "patch-management-software-titles:update": "",
              "patch-policies:read": "",
              "patch-policies:update": "",
              "pki:read": "",
              "pki:update": "",
              "policies:read": "",
              "policies:update": "",
              "prestage-enrollments:create": "",
              "prestage-enrollments:delete": "",
              "prestage-enrollments:read": "",
              "prestage-enrollments:update": "",
              "push-certificates:read": "",
              "push-certificates:update": "",
              "re-enrollment:read": "",
              "re-enrollment:update": "",
              "recovery-lock:execute": "",
              "recovery-lock:read": "",
              "remote-administration:create": "",
              "remote-administration:delete": "",
              "remote-administration:read": "",
              "remote-administration:update": "",
              "remote-assist:read": "",
              "retention-policy:read": "",
              "retention-policy:update": "",
              "return-to-service:delete": "",
              "return-to-service:read": "",
              "return-to-service:update": "",
              "scripts:create": "",
              "scripts:delete": "",
              "scripts:read": "",
              "scripts:update": "",
              "self-service:create": "",
              "self-service:delete": "",
              "self-service:read": "",
              "self-service:update": "",
              "sites:read": "",
              "smtp-server:read": "",
              "smtp-server:update": "",
              "sso-settings:read": "",
              "sso-settings:update": "",
              "teacher-app:read": "",
              "teacher-app:update": "",
              "user-groups:read": "",
              "user-groups:update": "",
              "user-initiated-enrollment:read": "",
              "user-initiated-enrollment:update": "",
              "user-sessions:read": "",
              "users:create": "",
              "users:delete": "",
              "users:read": "",
              "users:update": "",
              "volume-purchasing-locations:create": "",
              "volume-purchasing-locations:delete": "",
              "volume-purchasing-locations:read": "",
              "volume-purchasing-locations:update": ""
            }
          }
        }
      }
    }
  },
  "x-scope-types": [
    "tenant",
    "environment"
  ]
}
```