public
Delta

Update an existing Delta

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

Request

  • Base URL
    https://api.humanitec.io
  • URL
    https://api.humanitec.io/orgs/{orgId}/apps/{appId}/deltas/{deltaId}
  • Auth
    none declared

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

Changes

    • warning

      removed the request property /////

    • warning

      removed the optional property //// from the response with the status

    • breaking

      removed the required property / from the response with the status

    • warning

      removed the request property //