Skip to content

Delete a device

Request

Identity Engine
OAuth 2.0 scope:
  • okta.devices.manage

Deletes (permanently) a device by deviceId if it has a status of DEACTIVATED. You can transition the device to DEACTIVATED status using the Deactivate a Device endpoint. This request is destructive and deletes all of the profile data related to the device. Once deleted, device data can't be recovered. However, reenrollment creates a new device record.

Note: Attempts to delete a device that isn't in a DEACTIVATED state raise an error.

Path
deviceIdstringrequired

id of the device

Example:guo4a5u7JHHhjXrMK0g4
curl -i -X DELETE \
  https://subdomain.okta.com/api/v1/devices/guo4a5u7JHHhjXrMK0g4

Responses

No Content

Response
No content