Delete contract
DELETE
https://api.light.inc/v1/contracts/{contractId}
Deletes a contract by ID
Only a never-published DRAFT can be deleted (CONTRACT_CANNOT_BE_DELETED otherwise). Use terminate for an active contract.
Authorization
Send one of these on every request. See Authentication for how to get credentials.
- API key
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
- Bearer token
Path parameters
-
contractIdstring · uuidrequired
Headers
-
X-Idempotency-Keystring
Response
This endpoint returns no content.