You can force leave swarm

Signed-off-by: Eivin Giske Skaaren <eivin@sysmystic.com>
Upstream-commit: 033482d9ffba69732a9895386dbe8d5c7b1a944a
Component: engine
This commit is contained in:
Eivin Giske Skaaren
2016-08-15 17:09:36 +02:00
parent d3c1040e86
commit 273f3379ab
2 changed files with 8 additions and 0 deletions

View File

@ -4215,6 +4215,10 @@ Leave a swarm
Content-Length: 0
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**:
- **200** no error

View File

@ -4240,6 +4240,10 @@ Leave a swarm
Content-Length: 0
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**:
- **200** no error