---
title: "Clear the state a plugin setting has accumulated"
method: POST
path: "/api/plugin_settings/{id}/state_clears"
tags: ["Plugin Settings"]
---

# Clear the state a plugin setting has accumulated

`POST /api/plugin_settings/{id}/state_clears`

## Request

- Base URL: `https://trmnl.com`
- URL: `https://trmnl.com/api/plugin_settings/{id}/state_clears`
- Auth: HTTP bearer

Forgets the trmnl.state a private plugin carries between renders. Its data and settings stay.

## Path parameters

- `id` string, required

## Response `204`

State cleared

## Other responses

- `401`: Unauthorized
- `404`: Plugin setting 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)
