latestOpenAPI 3.0.02026-08-10221235717.8 KB

e21ad140ec3c

public
Delta

Update an existing Delta

patch/orgs/{orgId}/apps/{appId}/deltas/{deltaId}

Path parameters

orgIdstring required

The Organization ID

appIdstring required

The Application ID

deltaIdstring required

ID of the Delta to update.

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

The requested Deployment Delta.

idstring required

A unique ID for the Delta

Example response

{
  "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"
        }
      ]
    }
  }
}