Skip to main content
POST
/
api
/
mig
/
update-type
Update MIG instance template type
curl --request POST \
  --url https://api.getgranite.ai/api/mig/update-type \
  --header 'Content-Type: application/json' \
  --data '
{
  "mig_name": "<string>",
  "template_type": "<string>"
}
'
{
  "status": "<string>",
  "message": "<string>",
  "data": {}
}

Body

application/json

Request to update MIG instance template type

mig_name
string
required

MIG name

template_type
string
required

New template type (e2-small, e2-standard-2, e2-standard-4)

Response

Successful Response

Response for instance operations

status
string
required

Operation status

message
string
required

Status message

data
Data · object
required

Instance details