---
title: "Changes to Initialize a new swarm"
method: POST
path: "/swarm/init"
---

# Changes to Initialize a new swarm

`POST /swarm/init`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 79 revisions.

- **2026-02-24** `6df97b60796c`: 2 breaking, 4 info
- **2026-02-14** `31f80d10d31a`: 4 breaking, 5 info
- **2026-02-09** `831637d06c77`: 1 breaking, 8 info

## Changes

- **2026-02-24** `6df97b60796c`: 2 breaking, 4 info
  - removed the request body
  - removed the media type `text/plain` for the response with the status `200`
  - api tag `Swarm` added
  - added the non-success response with the status `400`
  - added the non-success response with the status `500`
  - added the non-success response with the status `503`
- **2026-02-14** `31f80d10d31a`: 4 breaking, 5 info
  - removed the media type `text/plain` from the request body
  - the `Spec/Raft/ElectionTick` request property format changed from no format to `int32`
  - the `Spec/Raft/HeartbeatTick` request property format changed from no format to `int32`
  - removed the media type `application/json` for the response with the status `200`
  - api tag `Swarm` removed
  - the `Protocol` request property default value `cfssl` was removed
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `500`
  - removed the non-success response with the status `503`
- **2026-02-09** `831637d06c77`: 1 breaking, 8 info
  - added required request body
  - added the media type `application/json` for the response with the status `200`
  - added the media type `application/json` for the response with the status `400`
  - added the media type `application/json` for the response with the status `500`
  - added the media type `application/json` for the response with the status `503`
  - added the media type `text/plain` for the response with the status `200`
  - added the media type `text/plain` for the response with the status `400`
  - added the media type `text/plain` for the response with the status `500`
  - added the media type `text/plain` for the response with the status `503`

---

[Operation](https://skmtc.dev/hexlet/apis/docker-engine-api/docs/swarm/init/post.md) - [API](https://skmtc.dev/hexlet/apis/docker-engine-api.md) - [Page](https://skmtc.dev/hexlet/apis/docker-engine-api/changes/swarm/init/post)
