fbpx
PUThttps://api.spotinst.io/compute/azure/group/{GROUP_ID}/detachNodes?accountId={ACCOUNT_ID}

                Detach nodes from your Elastigroup

  

 

URL Parameters

Parameter Type Description
GROUP_ID * String

The Elasticgroup ID you want to detach nodes from.

Example: sig-12345
ACCOUNT_ID String

Your Spotinst accountid associated with your token

Example: act-123abc
Request - Update group

Headers
{  
   "Content-Type": "application/json",
   "Authorization": "Bearer ${token}" 
}
Body
Copied!
Downloaded!
{
  "request": {
    "id": "3f806daf-7fd5-41aa-963a-a9c78e002454",
    "url": "/compute/azure/group/sig-c82e58e7/detachNodes",
    "method": "PUT",
    "timestamp": "2017-06-25T11:02:54.627Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "kind": "spotinst:azure:compute:group",
    "items": [
      [
        "tvm-3426989531_2-20170625t104753z-p"
      ]
    ],
    "count": 1
  }
}
Response - 200

Headers
{
  Content-Type: application/json
}
Body
Copied!
Downloaded!
{
  "request": {
    "id": "f4332904-6f43-4a1c-92e4-dd7bdeb04c6a",
    "url": "/compute/azure/group/sig-f4f73bda/scale/up?adjustment=1",
    "method": "PUT",
    "timestamp": "2017-06-25T11:57:02.557Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    }
  }
}