Restart instance

POST /v2/alm/stack/{stack_id}/restart_instance

Parameters

Type

Required

Details

instance_id

string

yes

Request header:

Authorization: Bearer eyJ0eXAiOiJ83fjQb3LzMeXzQfME
Content-Type: application/json

Request body:

{
    "instance_id":"i-01164e4912759cbed"
}

Example response:

HTTP/1.1 200 OK

{
    "status":"success",
    "reason":"Instance deleted from autoscaling group, with a protection of 3600 seconds."
}

Last updated