Currently, deleting existing header in the Webhook connector doesn't work. At the same time you can update Webhook headers with the new header.
Steps to reproduce:
- Create new Webhook connector in the Alerting and Actions page
- Add a few headers and Save
- Open created Webhook connector for Edit
- Open Browser dev tool -> Network
- Remove one of the existing headers and click Save
- Find the PUT request which was sent for the current connector.
- Check the response - it contains correct data for updated Webhook connector - header was removed.
- Refresh the page and open the same Webhook connector.
- Observe that removed header appears again.
Expected behavior:
Deleting Webhook headers should works.
Seems like some there is some caching issue on the server side for savedObjectClient.find
Currently, deleting existing header in the Webhook connector doesn't work. At the same time you can update Webhook headers with the new header.
Steps to reproduce:
Expected behavior:
Deleting Webhook headers should works.
Seems like some there is some caching issue on the server side for savedObjectClient.find