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}/terminateAuthentication
Choose one supported method for this request.
Parameters
dealIdpathinteger · int32requiredThe ID of the deal to terminate.
Request body
The termination type (`Cancelled` or `Suspended`), reason ID and optional comments.
terminationTypestringreasonIdinteger · int32commentsstring
Responses
Deal terminated.
Standard response envelope
isSuccessmessageerrorsdataRead the result from data. When isSuccess is false, errors lists what went wrong. Handling errors
boolean