mirror of
https://github.com/moby/moby.git
synced 2026-08-04 15:11:00 +00:00
Merge pull request #25719 from eskaaren/master
You can force leave swarm
(cherry picked from commit daf454d8cd)
Signed-off-by: Misty Stanley-Jones <misty@docker.com>
This commit is contained in:
committed by
Misty Stanley-Jones
parent
73f256760c
commit
c6e7fececb
@@ -4272,6 +4272,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
|
||||
|
||||
@@ -4293,6 +4293,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
|
||||
|
||||
Reference in New Issue
Block a user