Provide A new list Of overrides for the given Product

Provide A new list Of overrides for the given Product

This endpoint will replace the currently configured overrides for the given Product. These overrides will be merged into the Product's BOSH manifest. No validation is done on the data provided, other than checking that the data payload is a hash.

Only the features and update block of the manifest can be updated.

Given the following overrides:

{
  "overrides": [
    {
      "section": "features",
      "data": {
        "use_dns_addresses": true
      }
    },
    {
      "section": "update",
      "data": {
        "canaries": 4
      }
    }
  ]
}

This will result in the following director manifest:

name: my-product
....
features:
  use_dns_addresses: true
  .... # other values not affected
....
update:
  canaries: 4
  .... # other values are not affected
Request
URI
PUT
https://{opsmanager-installation}//api/v0/staged/products/{product_guid}/overrides
COPY
Path Parameters
string
product_guid
Required

The guid of the product


Request Body
ProductOverrides of type(s) application/json
Optional
{
    "overrides": [
        {
            "section": "string"
        }
    ]
}
overrides
Optional

A list of overrides that will be applied to the given Product manifest.

Overrides will be applied in order, so the last override will be applied last.

Responses
200

0K

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

422

UnprocessableEntity

Operation doesn't return any data structure