Associate one Or more stemcells with products

Associate one Or more stemcells with products

Associating one or more stemcells with products. Note that this endpoint cannot be used to unassign stemcells. Stemcell assignments can only be replaced or added.

Request
URI
PATCH
https://{api_host}/api/v0/stemcell_associations
COPY
Request Body
{
    "products": [
        {
            "guid": "string",
            "staged_stemcells": [
                {
                    "name": "string",
                    "os": "string",
                    "version": "string"
                }
            ]
        }
    ]
}
array of products
products
Optional

products

Responses
200

OK

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]'