| ... | ... |
@@ -4268,6 +4268,10 @@ Leave a swarm |
| 4268 | 4268 |
Content-Length: 0 |
| 4269 | 4269 |
Content-Type: text/plain; charset=utf-8 |
| 4270 | 4270 |
|
| 4271 |
+**Query parameters**: |
|
| 4272 |
+ |
|
| 4273 |
+- **force** - Boolean (0/1, false/true). Force leave swarm, even if this is the last manager or that it will break the cluster. |
|
| 4274 |
+ |
|
| 4271 | 4275 |
**Status codes**: |
| 4272 | 4276 |
|
| 4273 | 4277 |
- **200** – no error |
| ... | ... |
@@ -4298,6 +4298,10 @@ Leave a swarm |
| 4298 | 4298 |
Content-Length: 0 |
| 4299 | 4299 |
Content-Type: text/plain; charset=utf-8 |
| 4300 | 4300 |
|
| 4301 |
+**Query parameters**: |
|
| 4302 |
+ |
|
| 4303 |
+- **force** - Boolean (0/1, false/true). Force leave swarm, even if this is the last manager or that it will break the cluster. |
|
| 4304 |
+ |
|
| 4301 | 4305 |
**Status codes**: |
| 4302 | 4306 |
|
| 4303 | 4307 |
- **200** – no error |