Allow DELETE method for API node #1435
Closed
mbartylak
started this conversation in
Feature Request
Replies: 1 comment
-
Added 7bba5af |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The API node currently allows only for GET and POST. There are some use cases where DELETE would also be useful and it seems like a very easy thing to add. Theoretically this could be the case for PUT as well.
My use case:
I have a flow which dynamically creates light groups via config_entries API, based on device names assigned to individual light bulbs. For example bulbs "office_bulb_1", "office_bulb_2" will automatically be added to an "office_lamp" group. I can create and edit such groups using POST calls but I'm not able to delete them programmatically from node red as DELETE is not an available method.
Beta Was this translation helpful? Give feedback.
All reactions