---
title: "Lost Mode"
method: POST
path: "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/lostmode"
tags: ["mdm"]
---

# Lost Mode

`POST /applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/lostmode`

## Request

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

This endpoint allows you to control the lost mode of a device

## Path parameters

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

## Request body

- object
  - `disableLostMode` JumpcloudAppleMdmDisableLostMode
  - `enableLostMode` JumpcloudAppleMdmEnableLostMode
    - `footnote` string
    - `message` string
    - `phoneNumber` string

## Response `200`

A successful response.

- JumpcloudAppleMdmCommandResponse

## Other responses

- `204`: A successful response.
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `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)
