fbpx
GEThttps://api.spotinst.io/aws/ec2/group/{GROUP_ID}/amiBackup?accountId={ACCOUNT_ID}

Create single AMI backup for an Elastigroup. After this call is made, an image will be created from the latest instance launched and will update the Elastigroup configuration to use that image.

URL Parameters

Parameter Type Description
GROUP_ID * String

The Elastigroup id you want to update the AMI for

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"
}