---
title: "Stop mirroring"
method: DELETE
path: "/api/devices/{device_id}/mirror"
tags: ["Devices"]
---

# Stop mirroring

`DELETE /api/devices/{device_id}/mirror`

## Request

- Base URL: `https://trmnl.com`
- URL: `https://trmnl.com/api/devices/{device_id}/mirror`
- Auth: HTTP bearer

Clears the device's mirror. This is a DELETE on the mirror link, not on the device — the device keeps its own playlist history.

## Path parameters

- `device_id` integer, required

## Response `204`

Mirroring removed

## Other responses

- `401`: Unauthorized
- `404`: Device belongs to another user

---

[API](https://skmtc.dev/trmnl/apis/trmnl-api.md) · [All operations](https://skmtc.dev/trmnl/apis/trmnl-api/llms.txt) · [OpenAPI document](https://skmtc.dev/trmnl/apis/trmnl-api/revisions/66179e6d663b?raw)
