Authorizations

Authorization
string
headerrequired

You must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>

Path Parameters

chain_id
string
required
env_name
string
required

Body

application/json

A request to update the instance types for chainlets in an environment. Multiples updates can be made in one request. The updates will be processed in batch and a new deployment will be created, deployed and promoted into the environment.

updates
object[]
required

Mapping of chainlet name to the desired chainlet instance type. If the chainlet name doesn't exist, an error is returned.

Response

200 - application/json

A response to update the environment settings for a chainlet. If updating the instance type resulted in a re-deployment, requires_redeployment will be True and the resulting deployment will be returned in the chain_deployment field.

requires_redeployment
boolean
required

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

chain_deployment
object | null
required

The chain deployment resulting from the resource update, if any.

chainlet_environment_settings
object[]
required

The updated chainlet environment settings