---
title: "Deactivates a device."
method: DELETE
path: "/registry/v2/devices/{deviceOrExternalId}"
tags: ["Registry"]
---

# Deactivates a device.

`DELETE /registry/v2/devices/{deviceOrExternalId}`

Deactivates a provisioned device.
This operation will deactivate the device license (`deviceId` and `deviceSecret`).
Deactivated devices cannot be claimed anymore.

NOTE: The device must be unclaimed before it can be deactivated.

## Response `204`

Successful (no content)

## Other responses

- `400` — Bad request The request object is in an incorrect format or has values that are invalid or out of range. If available, further error details are provided in the response body.
- `401` — Unauthorized The request did not provide correct authentication details
- `403` — Forbidden The account does not have the correct privileges
- `404` — Not Found The specified resource was not found

---

[API](https://skmtc.net/here/apis/tracking.md) · [All operations](https://skmtc.net/here/apis/tracking/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/here/tracking/revisions/efa162f7023c/schema)
