---
title: "DeleteLocationHistory"
method: DELETE
path: "/location/history/{deviceId}/{id}"
tags: ["Location History"]
---

# DeleteLocationHistory

`DELETE /location/history/{deviceId}/{id}`

Delete a location history record.

## Path parameters

- `deviceId` string, required — This is the canonical device id used in the device certificate, and as the MQTT client id.
- `id` string, required — Universally unique identifier

## Response `202`

---

[API](https://skmtc.dev/nrfcloud/apis/nrf-cloud-rest-api.md) · [All operations](https://skmtc.dev/nrfcloud/apis/nrf-cloud-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nrfcloud/nrf-cloud-rest-api/revisions/c4e56e458ebf/schema)
