---
title: "List Device Lock State"
method: GET
path: "/api/v2/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/lockstate"
tags: ["mdm"]
---

# List Device Lock State

`GET /api/v2/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/lockstate`

## Request

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

This endpoint retrieves the derived device lock state for a specified macOS device.

## Path parameters

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

## Query parameters

- `organizationObjectId` string, byte

## Response `200`

A successful response.

- unknown

## Other responses

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

---

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