---
title: "Update AML Whitelist Status"
method: PATCH
path: "/aml/{check_id}/update-resources"
---

# Update AML Whitelist Status

`PATCH /aml/{check_id}/update-resources`

## Path parameters

- `check_id` string, required

## Request body

- object
  - `resource_ids` string[], required — Represents the id of the matched entities to be updated. You can get resource ids from [aml match model](https://docs.idwise.com/reference/get-aml-result#aml-match-model) in **[Get Aml Result](https://docs.idwise.com/reference/get-aml-result)** or [aml match model](https://docs.idwise.com/reference/get-journey-result#aml-match-model) of **[Get Journey Result](https://docs.idwise.com/reference/get-journey-result)**.
  - `is_whitelisted` boolean — If set true it will set the entities as whitelisted and no longer get alerted about these entities. If not provided, then whitelisting will not change for these entities.
  - `match_status` 'potential_match' | 'false_positive' | 'true_positive' | 'no_match' — To update the status of the these matched entities. If not provided, the match status for these entities will not be changed

## Response `200`

200

- object
  - `success` boolean

## Other responses

- `400` — 400
- `404` — 404

---

[API](https://skmtc.net/idwise/apis/idwise-api.md) · [All operations](https://skmtc.net/idwise/apis/idwise-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/idwise/idwise-api/versions/c83866525ec0/schema)
