Capvant

Delete a test deal

del
https://sandbox.capvant.com/v1/test/deals/{ref}
DELETE
/test/deals/{ref}

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 your usual API key (the Lender API has no separate 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. The Lender API has no separate sandbox key: the same cv_live_ key works on sandbox.capvant.com, where only your test deals exist.

In: header

Path Parameters

ref*string

The deal reference as it appears on the deal, for example 93A41205CE. Case-insensitive. Treat it as an opaque string: do not validate a prefix or a pattern.

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}