Skip to main content

Preview TariffChange

POST/v2/tariff-change-previews/
API version
v2
Request method
POST
Operation ID
order-preview-tariff-change

Request

Responses

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

Usage examples

$ curl \
--fail \
--location \
-X POST \
-d '{"tariffChangeData":{"contractId":"string","diskspaceInGiB":20,"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