v1
latestSwagger 2.02026-07-17107130444.8 KBPlugin
Upgrade a plugin
post/plugins/{name}/upgrade
Path parameters
namestring required
The name of the plugin. The :latest tag is optional, and is the default if omitted.
Query parameters
remotestring required
Remote reference to upgrade to.
The :latest tag is optional, and is used as the default if omitted.
Headers
X-Registry-Authstring
A base64url-encoded auth configuration to use when pulling a plugin from a registry.
Refer to the authentication section for details.
Request body
Example request
[
{
"Name": "network",
"Description": "",
"Value": [
"host"
]
},
{
"Name": "mount",
"Description": "",
"Value": [
"/data"
]
},
{
"Name": "device",
"Description": "",
"Value": [
"/dev/cpu_dma_latency"
]
}
]Response
no error