Manage Policy by ID
These endpoints allow you to retrieve, update, or delete a Data Anomaly policy using its unique policy ID. Use these APIs in integrations, automated workflows, or when editing policies programmatically.
Endpoints
Method | Path | Description |
|---|---|---|
GET |
| Retrieve anomaly policy by ID |
PUT |
| Update an anomaly policy |
DELETE |
| Delete/archive an anomaly policy |
Path Parameters
Name | Type | Required | Description |
|---|---|---|---|
| integer | Yes | The ID of the anomaly policy. |
Sample Request
Example: Get Policy
curl -X GET "https://{{HOST}}/catalog-server/api/rules/profile-anomaly/12345" \
-H "accessKey: {{ACCESS_KEY}}" \
-H "secretKey: {{SECRET_KEY}}"
Example: Update Policy
curl -X PUT "https://{{HOST}}/catalog-server/api/rules/profile-anomaly/12345" \
-H "accessKey: {{ACCESS_KEY}}" \
-H "secretKey: {{SECRET_KEY}}" \
-H "Content-Type: application/json" \
-d '{
"rule": {
"description": "Updated threshold logic",
"enabled": false
}
}'

Send a comment