How can I delete an entity via API call?

I am creating entities via the API with this method https://developers.home-assistant.io/docs/external_api_rest/#post-apistatesentity_id

Now there are cases where these entities become obsolete so I want to remove them via the API without restarting HA, is this possible?

1 Like