Update Data Policy
Update the name or description of a data policy via PATCH. Metadata changes never affect resolution runs that already captured a policy snapshot.
Update the metadata of an existing data policy: its name, its description, or both. This endpoint changes policy-level metadata only; the transformation logic lives on the policy's versions and is authored separately. Resolution runs that already captured a policy snapshot are never affected by metadata changes.
This is a PATCH endpoint: include only the properties you want to change and omitted properties keep their current values. Sending an empty body is a no-op that returns the current policy with its fields and rules inlined.
/v1/data-policies/{id}Path parameters
Body parameters
Request body
{
"name": "Invoice Normalization v2",
"description": "Updated: added VAT normalization rules"
}Response
Response fields
curl
Response
{
"id": "p1a2b3c4-e5f6-7890-abcd-ef1234567890",
"name": "Invoice Normalization v2",
"description": "Updated: added VAT normalization rules",
"status": "published",
"created_at": "2024-10-01T09:00:00.000Z",
"updated_at": "2024-10-20T08:15:00.000Z",
"links": {
"self": "/v1/data-policies/p1a2b3c4-e5f6-7890-abcd-ef1234567890",
"versions": "/v1/data-policies/p1a2b3c4-e5f6-7890-abcd-ef1234567890/versions",
"fields": "/v1/data-policies/p1a2b3c4-e5f6-7890-abcd-ef1234567890/fields",
"rules": "/v1/data-policies/p1a2b3c4-e5f6-7890-abcd-ef1234567890/rules"
}
}Errors
Error responses