Deprecate version
Marks a version deprecated — a non-destructive marker. Requires the admin:schemas:write scope. Rulesets bound to the version keep evaluating and their traffic is accepted while an operational signal flags it; creating a ruleset bound to a deprecated version rejects, and activating a ruleset whose binding became deprecated rejects. Versions are never auto-removed; there is no hard-removal flow. Deprecating a built-in schema or an already-deprecated version is an invalid transition.
Authorizations
Path Parameters
Response
Deprecated version
Whether velocity counters (including cardinality member sets) carry over from the previous version. State carries per field path only when all three hold — the path exists in both versions, its declared x-specter-type is identical, and its x-data-classification is identical; a renamed path, retyped field, or re-classified scope starts fresh state under the new version regardless of this flag. When false, rulesets bound to this version count from zero — counters of earlier versions are untouched and keep serving the rulesets bound to them. Blacklist entries are not versioned — they are global and unaffected by this flag. Whole-version toggle, fixed at publication and immutable thereafter. Always true for version 1.
The JSON Schema document. Each field carries x-specter-type (one of the 23 entries of the type vocabulary — string, integer, number, boolean, email, iban, country-code, currency-code, language-code, date, datetime, url, uuid, phone, ip, amount, pan, masked-pan, scheme-enum, card-funding-type-enum, card-segment-enum, object, array) and optionally x-data-classification (any — the default — pii, pci-pan, pci-sad). A pan field is always pci-pan; masked-pan defaults to pii. Types validate the decision payload at ingestion; markers drive the PCI gate, redaction, and retention. See Schemas.