---
title: "Changes to Create a service"
method: POST
path: "/services/create"
---

# Changes to Create a service

`POST /services/create`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 79 revisions.

- **2026-02-24** `6df97b60796c`: 2 breaking, 7 info
- **2026-02-14** `31f80d10d31a`: 2 breaking, 1 warning, 15 info
- **2026-02-09** `831637d06c77`: 1 breaking, 6 info

## Changes

- **2026-02-24** `6df97b60796c`: 2 breaking, 7 info
  - removed the request body
  - removed the success response with the status `200`
  - api tag `Service` added
  - added the non-success response with the status `400`
  - added the non-success response with the status `403`
  - added the non-success response with the status `409`
  - added the non-success response with the status `500`
  - added the non-success response with the status `503`
  - added the success response with the status `201`
- **2026-02-14** `31f80d10d31a`: 2 breaking, 1 warning, 15 info
  - the request's body type changed from no type to `object`
  - removed the success response with the status `201`
  - removed `#/components/schemas/ServiceSpec, subschema #2` from the request body `allOf` list
  - api tag `Service` removed
  - added the new optional request property `EndpointSpec`
  - added the new optional request property `Labels`
  - added the new optional request property `Mode`
  - added the new optional request property `Name`
  - added the new optional request property `Networks`
  - added the new optional request property `RollbackConfig`
  - added the new optional request property `TaskTemplate`
  - added the new optional request property `UpdateConfig`
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `403`
  - removed the non-success response with the status `409`
  - removed the non-success response with the status `500`
  - removed the non-success response with the status `503`
  - added the success response with the status `200`
- **2026-02-09** `831637d06c77`: 1 breaking, 6 info
  - added required request body
  - added the media type `application/json` for the response with the status `201`
  - 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 `403`
  - added the media type `application/json` for the response with the status `409`
  - 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`

---

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