diff --git a/docs/api/v1.28.yaml b/docs/api/v1.28.yaml index 1265bca2b3..23b391b3f4 100644 --- a/docs/api/v1.28.yaml +++ b/docs/api/v1.28.yaml @@ -6839,6 +6839,12 @@ paths: description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted." required: true type: "string" + - name: "force" + in: "query" + description: | + Force disable a plugin even if still in use. + required: false + type: "boolean" tags: ["Plugin"] /plugins/{name}/upgrade: post: diff --git a/docs/api/v1.29.yaml b/docs/api/v1.29.yaml index 37ef3d9be3..be6be3be58 100644 --- a/docs/api/v1.29.yaml +++ b/docs/api/v1.29.yaml @@ -6881,6 +6881,12 @@ paths: description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted." required: true type: "string" + - name: "force" + in: "query" + description: | + Force disable a plugin even if still in use. + required: false + type: "boolean" tags: ["Plugin"] /plugins/{name}/upgrade: post: diff --git a/docs/api/v1.30.yaml b/docs/api/v1.30.yaml index 292b3dcb5d..765d582b28 100644 --- a/docs/api/v1.30.yaml +++ b/docs/api/v1.30.yaml @@ -7105,6 +7105,12 @@ paths: description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted." required: true type: "string" + - name: "force" + in: "query" + description: | + Force disable a plugin even if still in use. + required: false + type: "boolean" tags: ["Plugin"] /plugins/{name}/upgrade: post: diff --git a/docs/api/v1.31.yaml b/docs/api/v1.31.yaml index 9b9b7f2630..1b6ded8518 100644 --- a/docs/api/v1.31.yaml +++ b/docs/api/v1.31.yaml @@ -7203,6 +7203,12 @@ paths: description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted." required: true type: "string" + - name: "force" + in: "query" + description: | + Force disable a plugin even if still in use. + required: false + type: "boolean" tags: ["Plugin"] /plugins/{name}/upgrade: post: diff --git a/docs/api/v1.32.yaml b/docs/api/v1.32.yaml index c97ec5e92a..81e1563e02 100644 --- a/docs/api/v1.32.yaml +++ b/docs/api/v1.32.yaml @@ -8244,6 +8244,12 @@ paths: description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted." required: true type: "string" + - name: "force" + in: "query" + description: | + Force disable a plugin even if still in use. + required: false + type: "boolean" tags: ["Plugin"] /plugins/{name}/upgrade: post: diff --git a/docs/api/v1.33.yaml b/docs/api/v1.33.yaml index 54b17c0f15..76650a33ab 100644 --- a/docs/api/v1.33.yaml +++ b/docs/api/v1.33.yaml @@ -8253,6 +8253,12 @@ paths: description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted." required: true type: "string" + - name: "force" + in: "query" + description: | + Force disable a plugin even if still in use. + required: false + type: "boolean" tags: ["Plugin"] /plugins/{name}/upgrade: post: diff --git a/docs/api/v1.34.yaml b/docs/api/v1.34.yaml index c8aec83709..a86621253e 100644 --- a/docs/api/v1.34.yaml +++ b/docs/api/v1.34.yaml @@ -8294,6 +8294,12 @@ paths: description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted." required: true type: "string" + - name: "force" + in: "query" + description: | + Force disable a plugin even if still in use. + required: false + type: "boolean" tags: ["Plugin"] /plugins/{name}/upgrade: post: diff --git a/docs/api/v1.35.yaml b/docs/api/v1.35.yaml index 97489813d0..1da0402964 100644 --- a/docs/api/v1.35.yaml +++ b/docs/api/v1.35.yaml @@ -8306,6 +8306,12 @@ paths: description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted." required: true type: "string" + - name: "force" + in: "query" + description: | + Force disable a plugin even if still in use. + required: false + type: "boolean" tags: ["Plugin"] /plugins/{name}/upgrade: post: diff --git a/docs/api/v1.36.yaml b/docs/api/v1.36.yaml index cf383927e5..0a97041c57 100644 --- a/docs/api/v1.36.yaml +++ b/docs/api/v1.36.yaml @@ -8350,6 +8350,12 @@ paths: description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted." required: true type: "string" + - name: "force" + in: "query" + description: | + Force disable a plugin even if still in use. + required: false + type: "boolean" tags: ["Plugin"] /plugins/{name}/upgrade: post: diff --git a/docs/api/v1.37.yaml b/docs/api/v1.37.yaml index 5a7b6a7a4b..6af67b5685 100644 --- a/docs/api/v1.37.yaml +++ b/docs/api/v1.37.yaml @@ -8393,6 +8393,12 @@ paths: description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted." required: true type: "string" + - name: "force" + in: "query" + description: | + Force disable a plugin even if still in use. + required: false + type: "boolean" tags: ["Plugin"] /plugins/{name}/upgrade: post: diff --git a/docs/api/v1.38.yaml b/docs/api/v1.38.yaml index b2e98d6bcc..6874e13aa0 100644 --- a/docs/api/v1.38.yaml +++ b/docs/api/v1.38.yaml @@ -8454,6 +8454,12 @@ paths: description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted." required: true type: "string" + - name: "force" + in: "query" + description: | + Force disable a plugin even if still in use. + required: false + type: "boolean" tags: ["Plugin"] /plugins/{name}/upgrade: post: diff --git a/docs/api/v1.39.yaml b/docs/api/v1.39.yaml index deca1e07ed..71d14a15fe 100644 --- a/docs/api/v1.39.yaml +++ b/docs/api/v1.39.yaml @@ -9441,6 +9441,12 @@ paths: default if omitted. required: true type: "string" + - name: "force" + in: "query" + description: | + Force disable a plugin even if still in use. + required: false + type: "boolean" tags: ["Plugin"] /plugins/{name}/upgrade: post: diff --git a/docs/api/v1.40.yaml b/docs/api/v1.40.yaml index 4d4b355220..601791f191 100644 --- a/docs/api/v1.40.yaml +++ b/docs/api/v1.40.yaml @@ -9756,6 +9756,12 @@ paths: default if omitted. required: true type: "string" + - name: "force" + in: "query" + description: | + Force disable a plugin even if still in use. + required: false + type: "boolean" tags: ["Plugin"] /plugins/{name}/upgrade: post: diff --git a/docs/api/v1.41.yaml b/docs/api/v1.41.yaml index 63383a0a12..669e935068 100644 --- a/docs/api/v1.41.yaml +++ b/docs/api/v1.41.yaml @@ -9963,6 +9963,12 @@ paths: default if omitted. required: true type: "string" + - name: "force" + in: "query" + description: | + Force disable a plugin even if still in use. + required: false + type: "boolean" tags: ["Plugin"] /plugins/{name}/upgrade: post: diff --git a/docs/api/v1.42.yaml b/docs/api/v1.42.yaml index dadb2f1fb8..ab1a740d30 100644 --- a/docs/api/v1.42.yaml +++ b/docs/api/v1.42.yaml @@ -10341,6 +10341,12 @@ paths: default if omitted. required: true type: "string" + - name: "force" + in: "query" + description: | + Force disable a plugin even if still in use. + required: false + type: "boolean" tags: ["Plugin"] /plugins/{name}/upgrade: post: diff --git a/docs/api/v1.43.yaml b/docs/api/v1.43.yaml index aefbcb8e87..a616794c1e 100644 --- a/docs/api/v1.43.yaml +++ b/docs/api/v1.43.yaml @@ -10359,6 +10359,12 @@ paths: default if omitted. required: true type: "string" + - name: "force" + in: "query" + description: | + Force disable a plugin even if still in use. + required: false + type: "boolean" tags: ["Plugin"] /plugins/{name}/upgrade: post: diff --git a/docs/api/version-history.md b/docs/api/version-history.md index 91795d7659..16bee52b8d 100644 --- a/docs/api/version-history.md +++ b/docs/api/version-history.md @@ -487,6 +487,7 @@ keywords: "API, Docker, rcli, REST, documentation" * `POST /services/create` and `POST /services/(id or name)/update` now accept an optional `RollbackConfig` object which specifies rollback options. * `GET /services` now supports a `mode` filter to filter services based on the service mode (either `global` or `replicated`). * `POST /containers/(name)/update` now supports updating `NanoCpus` that represents CPU quota in units of 10-9 CPUs. +* `POST /plugins/{name}/disable` now accepts a `force` query-parameter to disable a plugin even if still in use. ## v1.27 API changes