You can force leave swarm
Signed-off-by: Eivin Giske Skaaren <eivin@sysmystic.com>
This commit is contained in:
parent
0f838cc523
commit
033482d9ff
|
@ -4215,6 +4215,10 @@ Leave a swarm
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: text/plain; charset=utf-8
|
Content-Type: text/plain; charset=utf-8
|
||||||
|
|
||||||
|
**Query parameters**:
|
||||||
|
|
||||||
|
- **force** - Boolean (0/1, false/true). Force leave swarm, even if this is the last manager or that it will break the cluster.
|
||||||
|
|
||||||
**Status codes**:
|
**Status codes**:
|
||||||
|
|
||||||
- **200** – no error
|
- **200** – no error
|
||||||
|
|
|
@ -4240,6 +4240,10 @@ Leave a swarm
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: text/plain; charset=utf-8
|
Content-Type: text/plain; charset=utf-8
|
||||||
|
|
||||||
|
**Query parameters**:
|
||||||
|
|
||||||
|
- **force** - Boolean (0/1, false/true). Force leave swarm, even if this is the last manager or that it will break the cluster.
|
||||||
|
|
||||||
**Status codes**:
|
**Status codes**:
|
||||||
|
|
||||||
- **200** – no error
|
- **200** – no error
|
||||||
|
|
Loading…
Reference in New Issue