Skip to content

Delete A Batch Of Key Party Searches

Request

Deletes a batch of key party searches. The searches themselves are deleted, not only unlinked from the key party, so they can't be retrieved or linked to a key party again afterwards.

Security
bearerToken
Path
profileIdstring, (uuid)required

id of the profile

Example:8cb4d8a3-d277-4205-9d6c-f3f3a8b65f31
Headers
X-Team-Idstring, (uuid)

Optional. The team to work in, using a team id from List Teams. If left out, the default team is used. Records created in a team can only be seen by sending that team's id. A team id that doesn't exist, or a team being deleted, is rejected with 404 Team Not Found.

Example:6b78aed4-9ba6-441b-80b9-df9bea3b7c97
Bodyapplication/json

The key party searches to delete.

itemsArray of objects

Array of objects containing key party and search IDs.

curl -i -X DELETE \
  https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/profiles/8cb4d8a3-d277-4205-9d6c-f3f3a8b65f31/keyparties/searches \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-Team-Id: 6b78aed4-9ba6-441b-80b9-df9bea3b7c97' \
  -d '{
    "items": [
      {
        "keyPartyId": "ecc942dc-64f0-4021-8f43-7908e339a728",
        "searchId": "511a38c1-2016-420d-84bb-0873be8d4d2b"
      }
    ]
  }'

Responses

Success

Bodyapplication/json
failedArray of objects or null

The links that couldn't be deleted, each with the reason.

successfulArray of objects or null

The links that were deleted.

errorobject(KycProtectErrorObject)

Why the item failed.

correlationIdstring

A unique ID assigned to this request.

Response
{ "successful": [ { … } ], "failed": [], "correlationId": "87dc170a-95c0-48c5-8123-2ec8f5e153b7" }