Skip to main content

Delete Case

The Delete Case endpoint allows you to remove one or more existing media watcher cases from the system. By providing the reference IDs of the cases, you can delete specific cases and their associated data.

Endpoint: https://api.amlwatcher.com/api/adverse-media/delete

Method: POST

Sample Request
POST /api/adverse-media/delete HTTP/1.1
Host: api.amlwatcher.com
Authorization: Bearer Token
Content-Type: application/json
Content-Length: 573

{
"adverse_search_references": ["ddabd3c2ae8f1633f1edbb11"],
"reason": "reason for case deletion"
}

Request

ParametersRequiredTypeDescription
adverse_search_referencesYesArray of StringsA list of reference IDs representing the media watcher cases to be deleted.
reasonYesStringA string providing the reason for deleting the specified adverse search references. This could include details about why the deletion is required, such as redundancy, error correction, or updated information.

Response

ParametersDescription
errorWhenever there is an error in your request, this param will have details of that error; otherwise it’ll remain empty.
statusThe status field is set to either “SUCCESS” or “FAIL”, indicating that the API request resulted in a successful or failure/error condition respectively.
dataAn array containing the actual response elements.
Sample Response
{
"data": {
"message": "Adverse Media cases deleted successfully"
},
"error": false,
"status": "SUCCESS"
}