delete
https://api.suresend.ai/api/partner/contracts/
Delete a contract. By default, this performs a soft delete (recoverable). Use permanent=true for hard deletion (not recoverable).
Use Cases:
- Remove cancelled deals
- Clean up test contracts
- Archive old contracts
Soft Delete (Default):
- Contract is marked as deleted but data is preserved
- Can be restored via the application interface
- Webhooks are triggered for the deletion event
Hard Delete (permanent=true):
- Contract and all associated data are permanently removed
- Cannot be recovered
- Use with caution
Example - Soft Delete:
DELETE /api/partner/contracts/{id}
Example - Hard Delete:
DELETE /api/partner/contracts/{id}?permanent=true