---
title: "Changes to Update a service"
method: POST
path: "/services/{id}/update"
---

# Changes to Update a service

`POST /services/{id}/update`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 79 revisions.

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

## Changes

- **2026-02-24** `6df97b60796c`: 2 breaking, 5 info
  - removed the request body
  - removed the media type `application/json` for the 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 `404`
  - added the non-success response with the status `500`
  - added the non-success response with the status `503`
- **2026-02-14** `31f80d10d31a`: 3 breaking, 1 warning, 13 info
  - the request's body type changed from no type to `object`
  - for the `query` request parameter `registryAuthFrom`, default value `spec` was removed
  - for the `query` request parameter `version`, the format changed from no format to `int32`
  - 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 `404`
  - removed the non-success response with the status `500`
  - removed the non-success response with the status `503`
- **2026-02-09** `831637d06c77`: 1 breaking, 5 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 `404`
  - 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/:id/update/post.md) - [API](https://skmtc.dev/hexlet/apis/docker-engine-api.md) - [Page](https://skmtc.dev/hexlet/apis/docker-engine-api/changes/services/:id/update/post)
