Terminations

Create a termination request for the contract

Starts the termination of a contractor contract, either immediately or on a future date, in which case the termination stays pending until that date. A pending termination can be cancelled with DELETE /contracts/{contract_id}/terminations before it takes effect, but once it has taken effect this action is irreversible through the public API. Use GET /contracts/termination-reasons to get the reasons to present.

Token scopes: contracts:write

post/contracts/{contract_id}/terminations

Request

  • Base URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP bearer

Path parameters

contract_id, string required

The unique identifier of the contractor contract

Request body

object required
data, ContractsContractIdTerminationsPostRequestBodyContentApplicationJsonSchemaData required

Termination data. At minimum, you must provide either terminate_now: true (for immediate termination) OR completion_date (for scheduled termination).

Response

Successful operation

TerminationsCreateContractTerminationResponse201 required
data, ContractsContractIdTerminationsPostResponsesContentApplicationJsonSchemaData

Changes

No recorded changes to this operation across all 22 revisions of this API.