fbpx
PUThttps://api.spotinst.io/loadBalancer/deployment/{DEPLOYMENT_ID}?accountId={ACCOUNT_ID}

Update one or more parameters in your deployments. Only the specified fields will apply.

Parameter Type Description
DEPLOYMENT_ID * String

The deployment id you want to update

Example: d-12345
ACCOUNT_ID String

Account ID from Spotinst console

Example: act-12345
Request - Weight

Headers
{
  "Content-Type": "application/json",
  "Authorization": "Bearer ${token}"
}
Body
Copied!
Downloaded!
{
  "deployment": {
    "name": 1
  }
}

Body Attributes


  • deployment.name String
    The name of the deployment . Must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
Response - 200

Headers
{
  "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
    "status": {
        "code": 200,
        "message": "OK"
    }
}