Delete a test deal
Only ever deletes rows recognised as test deals by their internal.invalid contact email; a real deal's ref always 404s here. Sandbox only: call it on sandbox.capvant.com with a sandbox key. On the production host it answers 404, because a test deal is a sandbox object.
Authorization
ApiKeyAuth X-API-Key<token>
Lender keys start with cv_live_; Partner keys start with cv_pk_. Shown once at creation, sent on every request.
In: header
Path Parameters
ref*string
The deal reference, e.g. CV93A41205. Case-insensitive.
Response Body
application/json
application/json
application/json
application/json
application/json
Shell
curl -X DELETE "https://sandbox.capvant.com/test/deals/string"JSON
{ "ok": true, "ref": "string", "deleted": true}