AiTopicCategoryPreset
AiPromptGuardPreset
AiPromptTemplate
AiPromptDecoratorPreset
AiPrivacyPreset
AiDlpPreset

Updates an existing AI privacy preset

Changed on

Updates a custom AI privacy preset. Built-in presets are read-only and reject this call.

put/apiops/settings/ai-privacy-presets/{presetName}/

Request

Path parameters

presetNamestring required

Query parameters

projectIdstring

Request body

idstring
projectIdstring
namestring
elementNamestring
patternType'ELEMENT_NAME' | 'REGEX' | 'BUILTIN'
regexPatternstring
operation'MASK' | 'DELETE' | 'ENCRYPT' | 'HASH' | 'DETECT'
maskMode'FIXED' | 'KEEP_FIRST' | 'KEEP_LAST' | 'MASK_FIRST' | 'PLACEHOLDER_SEQUENCE' | 'SYNTHETIC'
maskPatternstring
maskVisibleCharCountinteger
enabledboolean
builtInboolean

Response

successful operation!

status'SUCCESS' | 'FAILURE'
resultMessagestring
resultListstring[]
resultCountinteger
unresolvedReferencesstring[]

Changes

    • breaking

      request property was restricted to a list of enum values

    • breaking

      request property was restricted to a list of enum values

    • breaking

      request property was restricted to a list of enum values

    • breaking

      the request property type changed from object to string

    • breaking

      the request property format changed from no format to int32

    • breaking

      the request property type changed from object to string

    • breaking

      the request property type changed from object to string

    This list may be incomplete.

    • info

      endpoint added