# AML Watchlist Entity Update

<mark style="color:orange;">`PUT`</mark> `{{baseurl}}/v2/api/verifications/watchlist/:entityId`

#### Headers

| Name                                    | Type   | Description      |
| --------------------------------------- | ------ | ---------------- |
| token<mark style="color:red;">\*</mark> | String | API secret token |

#### Request Body

| Name   | Type   | Description          |
| ------ | ------ | -------------------- |
| entity | String | Entity to be updated |

{% tabs %}
{% tab title="AML Watchlist Entity Update Sample Request" %}

```json
{
    "entity": "Tim Cloak"
}
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Success Response" %}

```json
{
    "success": true,
    "statusCode": 200,
    "message": "Entity updated successfully!",
    "data": {
        "entityType": null,
        "entity": "Tim Cloak",
        "reasonAdded": null,
        "dateAdded": null,
        "riskRating": null,
        "businessId": "628b38f03ae28a14f52d4bf7",
        "createdAt": "2023-11-22T02:56:54.737Z",
        "lastModifiedAt": "2023-11-22T03:11:43.491Z",
        "_createdAt": "2023-11-22T02:56:5454+00:00",
        "_lastModifiedAt": "2023-11-22T03:11:4343+00:00",
        "id": "655d6df6194cc1f125887d4a"
    },
    "links": []
}
```

{% endtab %}

{% tab title="Error Response" %}

```json
{
  "success": false,
  "statusCode": 404,
  "message": "You have attempted to get a resource that does not exist.",
  "name": "ResourceNotFoundError",
  "data": {}
}
```

{% endtab %}
{% endtabs %}
