---
title: "List Device Lock PIN"
method: GET
path: "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/lockpin"
tags: ["mdm"]
---

# List Device Lock PIN

`GET /applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/lockpin`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/lockpin`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/applemdms/:deviceManagerObjectId/devices/:deviceObjectId/lockpin/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint retrieves the decrypted device lock PIN when the device is locked.

## Path parameters

- `deviceManagerObjectId` string, byte, required
- `deviceObjectId` string, byte, required

## Query parameters

- `organizationObjectId` string, byte

## Response `200`

A successful response.

- unknown

## Other responses

- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
