removePlugin
DELETE
/api/v1/plugins/{pluginId}/installation
const url = 'https://example.com/api/v1/plugins/example/installation';const options = {method: 'DELETE', headers: {'X-CSRF-Token': 'example'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/api/v1/plugins/example/installation \ --header 'X-CSRF-Token: example'Deletes the installation record. Never deletes plugin data; refuses while plugin-owned resources remain. Idempotent for a plugin that is not installed. An installation row for a plugin this release does not know may also be removed; only the row is deleted.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”pluginId
required
string
Registry identifier such as noise_meter.
Header Parameters
Section titled “Header Parameters”X-CSRF-Token
required
string
Responses
Section titled “ Responses ”Plugin removed
Owner or Administrator and CSRF token required
Plugin_not_found
Plugin_in_use — remaining resources are listed in error.details
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
required
object
pluginId
required
string
resources
required
Array<object>
object
kind
required
string
count
required
integer
label
required
string
Example
{ "error": { "code": "plugin_in_use" }}