POST/api/plugin_settings/{id}/state_clears

Clear the state a plugin setting has accumulated

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

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 parameter
idstringrequired
Plugin setting id or uuid

3 status codes
204State cleared
401Unauthorized
errorstringoptional
404Plugin setting belongs to another user

Error handling

A 401 is returned: Unauthorized. A 404 is returned: Plugin setting belongs to another user.