DewaVPS

Get change tier cost

GET
/instance/{instance_uuid}/change-tier/price

Retrieve the estimated cost for changing an instance to a different tier.

Authorization

ApiKeyAuth
x-apikey<token>

In: header

Path Parameters

instance_uuid*string

UUID of the instance

Formatuuid

Query Parameters

tier_id*integer

ID of the target tier

Response Body

application/json

curl -X GET "https://api.dewavps.com/v1/instance/497f6eca-6276-4993-bfeb-53cbbbba6f08/change-tier/price?tier_id=0"
{
  "message": "Estimated change tier cost",
  "data": {
    "current_monthly_cost": 0,
    "estimated_new_monthly_cost": 0
  }
}