Zum Hauptinhalt springen

Cancel the Termination for the referred ContractItem

DELETE/contracts/{contractId}/items/{contractItemId}/termination/
v2
DELETE
contract-cancel-contract-item-termination

Request

  • contractIdstring (uuid)
    required

    The uuid of the Contract where the terminated ContractItem belongs to.

    Beispiel:"f6bb2d44-e6be-46dc-96f7-9602a7177a75"
  • contractItemIdstring (uuid)
    required

    The uuid of the ContractItem for which the Termination is to be cancelled. Only works for ContractItem for which a Termination is stored.

    Beispiel:"4d495bcd-4d4c-4bf9-b1c8-72b99a2ea7f2"

Responses

application/json

Return the contractId and the contractItemId of the ContractItem where the Termination was cancelled.

  • contractIdstring (uuid)
  • contractItemIdstring (uuid)
  • isCancelledboolean

Usage examples

$ curl \
--fail \
--location \
-X DELETE \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/contracts/f0f86186-0a5a-45b2-aa33-502777496347/items/f0f86186-0a5a-45b2-aa33-502777496347/termination