Policy Tags
Use these endpoints to manage tags associated with reliability policies in Acceldata.
Tags provide a simple way to categorize, group, and search for policies, making it easier to organize large sets of Data Quality, Reconciliation, or Drift rules.
You can retrieve, add, or remove tags programmatically using these APIs.
Endpoint(s)
Method | Endpoint | Description |
---|---|---|
GET | /catalog-server/api/rules/:id/tags | Retrieve tags for a specific policy |
POST | /catalog-server/api/rules/:id/tag | Add a tag to a policy |
DELETE | /catalog-server/api/rules/:id/tag/:tagId | Remove a tag from a policy |
Path Parameters
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | Unique ID of the policy |
tagId | string | Yes (for DELETE) | Unique ID of the tag to remove |
Sample Requests
Retrieve Tags:
bash
curl -X GET "https://{HOST}/catalog-server/api/rules/10566/tags"
Add Tags:
curl -X POST "https://{HOST}/catalog-server/api/rules/10566/tag" \
-H "Authorization: Bearer $TOKEN" \
-H "accessKey: $ACCESS_KEY" \
-H "secretKey: $SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
"ruleTag": {
"name": "critical_dataset"
}
}'
Remove Tags:
curl -X DELETE "https://{HOST}/catalog-server/api/rules/10566/tag/40723" \
-H "Authorization: Bearer $TOKEN" \
-H "accessKey: $ACCESS_KEY" \
-H "secretKey: $SECRET_KEY"
Was this page helpful?