PUThttps://api.spotinst.io/aws/ec2/group/{GROUP_ID}/statefulInstance/{STATEFUL_INSTANCE_ID}/pause?accountId={ACCOUNT_ID}
Pause a stateful instance
URL Parameters
Parameter | Type | Description |
---|---|---|
GROUP_ID * | String | The Elastigroup id you want to query Example: sig-12345 |
STATEFUL_INSTANCE_ID * | String | The stateful instance id you want to pause Example: ssi-227a0005 |
ACCOUNT_ID * | String | Your account id in spotinst Example: act-12345 |
Request
Headers
{ "Content-Type": "application/json", "Authorization": "Bearer ${token}" }
Response - 200
Headers
{ "Content-Type": "application/json" }
Body
{ "request": { "id": "2d4c44d3-a175-4876-a7bd-06141ca9b4f2", "url": "/aws/ec2/group/sig-8c8be13a/statefulInstance/ssi-7ccf5af5/pause?accountId=act-57765941", "method": "PUT", "timestamp": "2017-08-22T15:41:33.255Z" }, "response": { "status": { "code": 200, "message": "OK" } } }