Zum Hauptinhalt springen

Create TariffChange Order

POST/tariff-changes/
v2
POST
order-create-tariff-change

Request

Responses

application/json
  • orderIdstring
    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-changes