---
title: "Refresh DEP Devices"
method: POST
path: "/api/v2/applemdms/{apple_mdm_id}/refreshdepdevices"
tags: ["Apple MDM"]
---

# Refresh DEP Devices

`POST /api/v2/applemdms/{apple_mdm_id}/refreshdepdevices`

## Request

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

Refreshes the list of devices that a JumpCloud admin has added to their virtual MDM in Apple Business Manager - ABM so that they can be DEP enrolled with JumpCloud.

#### Sample Request
```
  curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/refreshdepdevices \
  -H 'accept: application/json' \
  -H 'content-type: application/json' \
  -H 'x-api-key: {API_KEY}' \
  -d '{}'
```

## Headers

- `x-org-id` string

## Response `204`

## Other responses

- `400`
- `401`: Unauthenticated
- `403`: Unauthorized
- `404`: Not Found
- `409`: Conflict
- `500`

---

[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)
