Stop plugin
Call this endpoint to stop and kill the plugin programatically. This will stop the plugin as soon as it responds to the request, so don't wait for a response, because if the plugin answers then there was an error turning it off
You can double check if the plugin is not running by making a request to get the version
Method: GET
Relative URL: /apagar
Example response: It shoud not answer the request
Example (JavaScript client side)
try {
await fetch("http://localhost:8000/apagar");
// Error stopping plugin, it should not answer the call
} catch (e) {
// The plugin did not answer, likely it is turned off
console.log(e)
}