Skip to content

Delete AML searches linked to a profile

Request

Deletes AML searches from a profile by profile Id and Search Id.

Security
bearerToken
Path
profileIdstringrequired

Id of a profile.

Example:9a7ae0c8-f473-4ab6-8dbb-03fc061630cc
Bodyapplication/jsonrequired
searchIdsArray of strings

List of searches to de-link from a profile

Example:
[ "1255eebd-7f75-4163-a8b4-ab95e8f7be74" ]
curl -i -X DELETE \
  https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/profiles/9a7ae0c8-f473-4ab6-8dbb-03fc061630cc/searches \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "searchIds": [
      "1255eebd-7f75-4163-a8b4-ab95e8f7be74"
    ]
  }'

Responses

Success

Bodyapplication/json
failedArray of objects
successfulArray of strings, (uuid)
Response
{ "failed": [ {} ], "successful": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] }