latestOpenAPI 3.0.02026-08-10221235717.8 KB

e21ad140ec3c

public
Set

Apply a Deployment Delta to a Deployment Set

post/orgs/{orgId}/apps/{appId}/sets/{setId}

Path parameters

orgIdstring required

The Organization ID

appIdstring required

The Application ID

setIdstring required

ID of the Deployment Set.

Request body

idstring

Ignored, but can be provided.

Example request

{
  "id": "49393b5004d072000b8abfd910c61685eb9235f5",
  "metadata": {},
  "modules": {
    "add": {
      "redis-cache": {
        "profile": "humanitec/redis"
      }
    },
    "remove": [
      "simple-service"
    ],
    "update": {
      "module-one": [
        {
          "op": "replace",
          "path": "/spec/containers/core-service/variables/EXAMPLE",
          "value": "New Value"
        }
      ]
    }
  }
}

Response

A Deployment Delta which if applied to the Set with ID sourceSetId gives the Set with ID setId.

string required