---
title: Remove a Profile
framework: devicemanagement
role: symbol
role_heading: Web Service Endpoint
path: devicemanagement/clear-device-profile
---

# Remove a Profile

Remove a profile from a list of devices.

## URL

DELETE https://mdmenrollment.apple.com/profile/devices

## Response Codes

200 OK: 400 Bad Request:  DEVICE_ID_REQUIRED: The request did not contain any device IDs. USER_AGENT_INVALID:  The User-Agent header is invalid. USER_AGENT_MISSING:  The User-Agent header is missing or has no assigned value.

## Discussion

Discussion After this call, the devices in the list will have no profiles associated with them. However, if those devices have already obtained the profile, this has no effect until the device is wiped and activated again.

## HTTP Body

The request used to remove a profile from devices.

## Topics

### Request and Response

- [ClearProfileRequest](devicemanagement/clearprofilerequest.md)
- [ClearProfileResponse](devicemanagement/clearprofileresponse.md)
- [ClearProfileResponse.Devices](devicemanagement/clearprofileresponse/devices-data.dictionary.md)

## See Also

### Profile management

- [Define a Profile](devicemanagement/define-profile.md)
- [Get a Profile](devicemanagement/fetch-profile.md)
- [Assign a Profile](devicemanagement/assign-profile.md)
