Update plugin ecosystem enablement
const url = 'https://example.com/api/v1/plugins/settings';const options = { method: 'PATCH', headers: {'Content-Type': 'application/json'}, body: '{"pluginsEnabled":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://example.com/api/v1/plugins/settings \ --header 'Content-Type: application/json' \ --data '{ "pluginsEnabled": true }'Persists the global enablement flag and hot-applies it: enabling initializes the plugin host; disabling clears the live registry snapshot. Durable registry rows are retained. Browser requests must be same-origin; authenticated non-browser clients may omit Origin.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Persist and hot-apply global plugin ecosystem enablement without restart.
Examplegenerated
{ "pluginsEnabled": true}Responses
Section titled “Responses”Updated plugin ecosystem enablement
Global plugin-ecosystem enablement (UI-backed master switch; default off).
object
When false, plugin management/reload/observe are hard no-ops. Nav remains visible.
Examplegenerated
{ "pluginsEnabled": true}Invalid settings payload
object
Stable management failure code; raw filesystem/database diagnostics are never returned.
Example
{ "code": "invalid_identity"}Cross-origin browser request rejected before mutation
Failed to update plugin settings
object
Stable management failure code; raw filesystem/database diagnostics are never returned.
Example
{ "code": "invalid_identity"}