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

URL Parameters

Parameter Type Description
ACCOUNT_ID String

Account ID from Spotinst console

Example: act-12345
Request

Headers
{
  "Content-Type": "application/json",
  "Authorization": "Bearer ${token}"
}
Body
Copied!
Downloaded!
{
  "deployment": {
    "name": "us-east-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"
  },
  "kind": "spotinst:lb:deployment",
  "items": [
    {
      "name": "us-east-1"
    }
  ],
  "count": 1
}