redaction-policies

Validate a tenant redaction policy without saving it

Normalizes and validates a schema version 1 tenant policy, then returns the canonical definition and behavior digest without accessing the tenant policy store. Required scope: policy:redaction:manage.

post/redaction/policies/validate

Request body

namestring required
descriptionstring nullable

Example request

{
  "name": "internal-contracts",
  "description": "社内契約情報向け",
  "businessConfidential": {
    "definition": "未公開の契約・価格・計画に関する情報",
    "include": [
      {
        "text": "契約金額",
        "mode": "value_clause"
      }
    ],
    "exclude": [
      "公開済みの価格表"
    ],
    "examples": [
      "A社との年間契約額は3,200万円"
    ]
  }
}

Response

Policy is valid

namestring required
schemaVersion1 required
contentDigeststring required

Changes

Changed in 1 of the 71 revisions of this API.1

Of the 71 revisions, 18 have no diff computed.