Skip to content

Delete a batch of key parties

Request

Delete a selection of key parties from a specific profile.

Security
bearerToken
Path
profileIdstring, (uuid)required

Id of the profile

Example:f8b07d65-4a30-44f9-a045-2e47db8130a0
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 ids of the key parties to delete from the profile.

keyPartyIdsArray of strings, (uuid)

List of key party ids to delete.

curl -i -X DELETE \
  https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/profiles/f8b07d65-4a30-44f9-a045-2e47db8130a0/keyparties \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-Team-Id: 6b78aed4-9ba6-441b-80b9-df9bea3b7c97' \
  -d '{
    "keyPartyIds": [
      "6f9fde29-3253-4200-b45b-d6fcc5bccd51"
    ]
  }'

Responses

Success

Bodyapplication/json
failedArray of objects(DeleteKeyPartiesResponseByProfileIdFailedObjectResponse)

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

successfulArray of strings, (uuid)

The key party ids that were deleted.

correlationIdstring

A unique ID assigned to this request.

Response
{ "successful": [ "6f9fde29-3253-4200-b45b-d6fcc5bccd51" ], "failed": [], "correlationId": "377cdc30-e4c9-425f-9f49-0cd435c101a6" }