Skip to main content

Preview TariffChange

POST /v2/tariff-change-previews/
v2
POST
order-preview-tariff-change

Request

Responses

application/json
  • machineTypePricenumber
    required
  • storagePricenumber
    required
  • totalPricenumber
    required

Usage examples

$ curl \
--fail \
--location \
-X POST \
-d '{"tariffChangeData":{"contractId":"string","diskspaceInGiB":10,"spec":{"machineType":"prospace.2cpu.4gb"}},"tariffChangeType":"projectHosting"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/tariff-change-previews