v1

latestOpenAPI 3.1.02026-07-26157321426.3 KB

Updates a chainlet environment's instance type settings

Updates a chainlet environment's instance type settings. The chainlet environment setting must exist. When updated, a new chain deployment is created and deployed. It is promoted to the chain environment according to promotion settings on the environment.

post/v1/chains/{chain_id}/environments/{env_name}/chainlet_settings/instance_types/update

Request body

Example request

{
  "updates": [
    {
      "chainlet_name": "HelloWorld",
      "instance_type_id": "1x4"
    },
    {
      "chainlet_name": "RandInt",
      "instance_type_id": "A10G:2x24x96"
    }
  ]
}

Response

requires_redeploymentboolean required

Whether the resource update requires a re-deployment to update the instance type.