Skip to content

Update A Batch Of Key Parties

Request

Updates a batch of key parties

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 parties to update.

itemsArray of objects

The key parties to update.

curl -i -X PUT \
  https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/profiles/8cb4d8a3-d277-4205-9d6c-f3f3a8b65f31/keyparties \
  -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",
        "firstName": "Test",
        "lastName": "Director",
        "role": "Managing Director"
      }
    ]
  }'

Responses

Success

Bodyapplication/json
failedArray of objects(PutKYCKeypartiesByProfileIdFailedResponse)

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

successfulArray of objects(PostKYCKeypartiesByProfileIdResponse)

The key parties that were updated.

correlationIdstring

A unique ID assigned to this request.

Response
{ "successful": [ { … } ], "failed": [], "correlationId": "381891f3-1bca-4fb9-a626-b5fe56040a8e" }