Enable one durable plugin identity
const url = 'https://example.com/api/v1/plugins/example/example/enable';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/plugins/example/example/enablePersists administrator enablement intent for one API-version-qualified plugin. This does not
assert runtime activation or successful execution. Disabled feature state rejects without
mutating durable state. Browser requests must be same-origin; authenticated non-browser
clients may omit the Origin header.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Exact non-empty plugin contract API-version namespace; no current version is inferred.
Non-empty persisted plugin id; lookup is case-insensitive within the selected namespace.
Responses
Section titled “Responses”Plugin enablement intent persisted
Updated durable enablement intent for one API-version-qualified plugin.
object
Durable, redacted plugin discovery and enablement state.
object
Validated manifest metadata. Authored identifiers and names are returned exactly as persisted; local source directories and unvalidated raw manifest content are never exposed.
object
Manifest-relative module entry; never an absolute source path.
Advisory host-version constraints from the validated manifest.
object
Persisted administrator intent; does not assert runtime activation or execution.
Whether the plugin was present in the latest successfully reconciled scan.
Last recorded lifecycle state. enabled is administrator intent and does not imply that a
plugin was activated or executed successfully.
Example
{ "pluginsEnabled": true, "plugin": { "manifest": { "runtime": "wasm", "extensionPoints": [ "config.profileCompiled.observe" ], "capabilities": [ "read:resolved-profile" ] }, "state": "discovered" }}Empty or otherwise invalid path identity
object
Stable management failure code; raw filesystem/database diagnostics are never returned.
Example
{ "code": "invalid_identity"}Cross-origin browser request rejected before mutation
Plugin not found in the requested API-version namespace
object
Stable management failure code; raw filesystem/database diagnostics are never returned.
Example
{ "code": "invalid_identity"}Plugin management is disabled or a registry reconciliation conflicts with this mutation
object
Stable management failure code; raw filesystem/database diagnostics are never returned.
Example
{ "code": "invalid_identity"}Failed to persist plugin enablement
object
Stable management failure code; raw filesystem/database diagnostics are never returned.
Example
{ "code": "invalid_identity"}