---
title: "Deletes all aliases of a device"
method: DELETE
path: "/aliases/v2/{trackingId}"
tags: ["Aliases"]
---

# Deletes all aliases of a device

`DELETE /aliases/v2/{trackingId}`

Deletes all aliases of a device identified by the `trackingId`.

Note that one needs to supply an HTTP header `x-confirm` with the value `true` to force the deletion. 
If the header is not provided, the request will fail.

## Headers

- `x-confirm` 'true', required

## Response `204`

Successful (no content)

All aliases were successfully deleted.

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