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
Authentication
Authentication
The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.
curl -X GET 'https://api.deel.training/rest/v2/contracts' \
-H 'Authorization: Bearer YOUR-TOKEN-HERE'
Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/
Path parameters
Request
Termination data. At minimum, you must provide either terminate_now: true (for immediate termination) OR completion_date (for scheduled termination).