Skip to main content

Grant a plugin one of its manifest-declared capabilities

POST 

/plugins/:id/grants

The grant is install-wide, not per-user: it unlocks the capability for the plugin as a whole. What each call then does with the capability (e.g. whose hosts ctx.hosts.list() returns) is still scoped to whichever user's request triggered it.

Request​

Responses​

The capability is now granted.