Browse code

You can force leave swarm

Signed-off-by: Eivin Giske Skaaren <eivin@sysmystic.com>

Eivin Giske Skaaren authored on 2016/08/16 00:09:36
Showing 2 changed files
... ...
@@ -4215,6 +4215,10 @@ Leave a swarm
4215 4215
     Content-Length: 0
4216 4216
     Content-Type: text/plain; charset=utf-8
4217 4217
 
4218
+**Query parameters**:
4219
+
4220
+- **force** - Boolean (0/1, false/true). Force leave swarm, even if this is the last manager or that it will break the cluster.
4221
+
4218 4222
 **Status codes**:
4219 4223
 
4220 4224
 - **200** – no error
... ...
@@ -4240,6 +4240,10 @@ Leave a swarm
4240 4240
     Content-Length: 0
4241 4241
     Content-Type: text/plain; charset=utf-8
4242 4242
 
4243
+**Query parameters**:
4244
+
4245
+- **force** - Boolean (0/1, false/true). Force leave swarm, even if this is the last manager or that it will break the cluster.
4246
+
4243 4247
 **Status codes**:
4244 4248
 
4245 4249
 - **200** – no error