---
title: Delete a Device Management Service
framework: Apple Business API
role: symbol
role_heading: Web Service Endpoint
platforms: [apple business api 2.5+]
path: applebusinessapi/delete-an-mdmserver
---

# Delete a Device Management Service

Delete a device management service from an organization.

## URL

DELETE https://api-business.apple.com/v1/mdmServers/{id}

## Path Parameters

id: The unique identifier for the resource.

## Response Codes

204 No Content: 400 Bad Request: An error occurred with your request. 401 Unauthorized: 403 Forbidden: Request not authorized. 404 Not Found: 429 : Too Many Requests

## Overview

Overview note: A device management service that has devices assigned to it can’t be deleted. Unassign all devices before deleting. Example

## See Also

### Device Management Services

- [Get Device Management Services](applebusinessapi/get-mdm-servers.md)
- [Get Device Management Service Information](applebusinessapi/get-mdmserver-information.md)
- [Create a Device Management Service](applebusinessapi/create-an-mdmserver.md)
- [Update a Device Management Service](applebusinessapi/update-an-mdmserver.md)
- [Get the Device Serial Numbers for a Device Management Service](applebusinessapi/get-all-device-ids-for-an-mdmserver.md)
- [Get the Assigned Device Management Service ID for a Device](applebusinessapi/get-the-assigned-server-id-for-an-orgdevice.md)
- [Get the Assigned Device Management Service Information for a Device](applebusinessapi/get-the-assigned-server-information-for-an-orgdevice.md)
- [Assign or Unassign Devices to a Device Management Service or Release Devices](applebusinessapi/create-an-orgdeviceactivity.md)
- [Get Organization Device Activity Information](applebusinessapi/get-orgdeviceactivity-information.md)
