fbpx
PUThttps://api.spotinst.io/aws/ec2/group/{GROUP_ID}/beanstalk/maintenance/start?accountId={ACCOUNT_ID}

Put your Beanstslk elastigroup into maintenance mode, before you start updating the beanstalk configuration.

URL Parameters

Parameter Type Description
GROUP_ID * Integer

The Elastigroup id you want to query

Example: sig-12345
ACCOUNT_ID String

Your Spotinst accountId associated with your token

Example: act-123abc
Request

Headers
{
    "Content-Type": "application/json",
    "Authorization": "Bearer ${token}"
}
Response - 200

Headers
{
    "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
    "request": {
        "url": "/aws/ec2/group/sig-12345/beanstalk/maintenance/start?accountId=act-12345",
        "method": "PUT"
    },
    "response": {
        "status": {
            "code": 200,
            "message": "OK"
        }
    }
}