Update or change the installed version of a plugin
POST/plugins/:id/update
Swaps in another release from the registry the plugin came from, newer or older. If the release declares capabilities the installed one does not, the request must set acceptCapabilities and list exactly those added capabilities in capabilities, otherwise it answers 409 with code CAPABILITIES_ADDED (or CONSENT_MISMATCH) and the list. A running plugin is started again on the new version. Naming a version that is not the newest pins the plugin to it.
Request
Responses
- 200
- 400
- 403
- 404
- 409
The new version and the plugin's state.
Invalid id or version.
The caller lacks admin.plugins.manage.
Not installed, or the version is not in the registry.
Same version, new capabilities need consent, or managed by a linked server.