---
title: "Changes to Deploy a new swarm stack from a git repository"
method: POST
path: "/stacks/create/swarm/repository"
---

# Changes to Deploy a new swarm stack from a git repository

`POST /stacks/create/swarm/repository`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 1 of 21 revisions.

- **2026-07-22** `b84d30fccc3b` — 1 info

## Changes

- **2026-07-22** `b84d30fccc3b` — 1 info
  - added the optional property `GitConfig/allOf[#/components/schemas/gittypes.RepoConfig]/Authentication/allOf[#/components/schemas/gittypes.GitAuthentication]/GitCredentialID` to the response with the `200` status

---

[Operation](https://skmtc.dev/portainer/apis/portainerce-api/docs/stacks/create/swarm/repository/post.md) · [API](https://skmtc.dev/portainer/apis/portainerce-api.md) · [Page](https://skmtc.dev/portainer/apis/portainerce-api/changes/stacks/create/swarm/repository/post)
