API reference
All operations
DEAL

Terminates (cancels or suspends) a deal.

Sets the deal's termination type, reason, comments and date, releases the machines and attachments allocated to the deal, deactivates its open tasks and notifies the users configured for deal notifications. `terminationType` and `reasonId` are stored as sent and are not checked; use the values from the termination types and termination reasons lists.

PUT/api/v2/deals/{dealId}/terminate

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

dealIdpathinteger · int32required

The ID of the deal to terminate.

Request body

application/jsonrequired

The termination type (`Cancelled` or `Suspended`), reason ID and optional comments.

DealTerminationRequest
  • terminationTypestring
  • reasonIdinteger · int32
  • commentsstring

Responses

Deal terminated.

Standard response envelopeisSuccessmessageerrorsdata

Read the result from data. When isSuccess is false, errors lists what went wrong. Handling errors

databoolean
boolean