> ## Documentation Index
> Fetch the complete documentation index at: https://developers.argosidentity.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DELETE Ongoing Monitoring Records

> Remove ongoing monitoring records from the system. You can delete up to 25 records per request.

<Warning>
  This action is irreversible. Deleted records cannot be recovered.
</Warning>

## Endpoint

```bash theme={null}
DELETE /submission/aml/monitor/{worklistId}
```

## Base URL

```bash theme={null}
https://rest-api.argosidentity.com/v3/submission/aml/monitor
```

## Authentication

Include your API key in the request header:

<ParamField header="x-api-key" type="string" required>
  Your API key for authentication
</ParamField>

## Path Parameters

<ParamField path="worklistId" type="string" required>
  The ID of the worklist containing the records to delete
</ParamField>

## Request Body

<ParamField body="admin" type="string" required>
  Email address of the administrator making the deletion request (must be registered in the project's admin list)
</ParamField>

<ParamField body="recordIds" type="array" required>
  Array of record IDs to delete (1-25 records maximum)
</ParamField>

## Request Example

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE 'https://rest-api.argosidentity.com/v3/submission/aml/monitor/{worklistId}' \
    -H 'Content-Type: application/json' \
    -H 'x-api-key: {yourAPIKey}' \
    -d '{
      "admin": "test@company.com",
      "recordIds": [
        "ncd0e2meod5c41_3tsti7mepaqifz",
        "ncgae2meod5c41_3tsti7mephgifz"
      ]
    }'
  ```
</RequestExample>

## Response

### Success Response

<ResponseExample>
  ```json Success theme={null}
  {
    "message": "records deleted successfully"
  }
  ```
</ResponseExample>

### Response Fields

<ResponseField name="message" type="string" required>
  Success message confirming the deletion operation
</ResponseField>

### Error Response

<ResponseExample>
  ```json Error theme={null}
  {
    "errorCode": "invalid_record",
    "errorMessage": "Some records do not exist",
    "details": [
      {
        "statusCode": 404,
        "error": {
          "code": "MAPI-001",
          "message": "Resource not found"
        }
      },
      {
        "statusCode": 404,
        "error": {
          "code": "MAPI-001",
          "message": "Resource not found"
        }
      }
    ]
  }
  ```
</ResponseExample>

## Error Codes

| Error Code          | HTTP Status | Description                                                  |
| ------------------- | ----------- | ------------------------------------------------------------ |
| `invalid_payload`   | 400         | Missing request payload or format error                      |
| `invalid_admin`     | 400         | Invalid admin account or admin not registered in the project |
| `invalid_record`    | 400         | One or more record IDs do not exist                          |
| `invalide_worklist` | 400         | Invalid worklist ID                                          |
| `invalid_project`   | 400         | Missing project ID or invalid API key                        |

## Important Notes

<Warning>
  **Deletion Limitations:**

  * Maximum 25 records can be deleted per request
  * Only records within the specified worklist can be deleted
  * Deletion is permanent and cannot be undone
  * Ensure you have the correct record IDs before proceeding
</Warning>

<Tip>
  **Best Practices:**

  * Verify record IDs exist before attempting deletion
  * Use batch operations for multiple deletions to improve efficiency
  * Keep a backup of important records before deletion
  * Monitor the response for any partial failures
</Tip>

<Info>
  **Batch Processing:**

  * The system processes all record IDs in a single request
  * If some records fail to delete, the response will include detailed error information
  * Partial failures are possible - some records may be deleted while others fail
</Info>

## Rate Limits

<Info>
  This endpoint follows the standard rate limiting policies. Each request can process up to 25 record deletions simultaneously.
</Info>

## Related Endpoints

<CardGroup cols={2}>
  <Card title="Get Ongoing Monitoring Record" icon="magnifying-glass" iconType="regular" href="/api-reference/api-reference-guide/aml_data/aml-ongoing-monitoring/Get-Ongoing-Monitoring">
    Retrieve detailed information about a specific monitoring record
  </Card>

  <Card title="Create Ongoing Monitoring Records" icon="plus" href="/api-reference/api-reference-guide/aml_data/aml-ongoing-monitoring/Post-Ongoing-Monitoring">
    Register new ongoing monitoring records for submissions
  </Card>
</CardGroup>
