genesis
genesis copied to clipboard
Add option in GUI to delete snippet [Feature Request]
It would be good to add an option in the GUI so users can delete snippets.
The suggestion is good, and will be taken into account in a future release. Until that, you can remove the snippet file from the hard disk. The file name of the snippet is equal to the snippet ID plus ".json".
To remove the snippet from the RAM in the back-end (from the loaded snippets API endpoint, and thus the front-end GUI), one needs to reload the snippets. This can be done by restarting the server/redeploying the WAR, or by sending a PUT request to the api/v1/snippets
endpoint.