latestOpenAPI 3.0.02026-08-2045003.8 MB
72813baf8d47
Elastigroup AWS
Detach Instance
Detach instances from your Elastigroup
put/aws/ec2/group/{groupId}/detachInstances
Query parameters
accountIdstring
ID of the account associated with your token
Parameters
#/paths/~1aws~1ec2~1group~1%7BgroupId%7D/put/parameters/0 — unresolved $ref
Request body
Example request
{
"shouldTerminateInstances": true,
"drainingTimeout": 300
}Response
Detach Instance Response
Example response
{
"request": {
"id": "0bb5db74-2457-4a34-b8f3-174e6bf5578e",
"url": "/aws/ec2/group/sig-12345/detachInstances",
"method": "PUT",
"timestamp": "2016-06-19T08:41:57.516Z"
},
"response": {
"status": {
"code": 200,
"message": "OK"
},
"kind": "spotinst:aws:ec2:detachInstances"
}
}