AiPromptDecoratorPresetProject
AiTopicCategoryPresetProject
AiPrivacyPresetProject
AiPromptGuardPresetProject
AiPromptTemplateProject
AiDlpPresetProject

Updates an existing AI DLP preset owned by specified project

Changed on

Updates a custom AI DLP preset this project owns. A row this project does not own (built-in/admin-shared/another project's) reports not-found. Built-in presets are read-only and reject this call.

put/apiops/projects/{projectName}/ai-dlp-presets/{presetName}/

Request

Path parameters

projectNamestring required
presetNamestring required

Request body

idstring
projectIdstring
namestring
ruleValuestring
action'BLOCK' | 'FLAG' | 'MASK'
categorystring
descriptionstring
enabledboolean
builtInboolean
overriddenboolean
literalAnchorsstring[]

Response

successful operation!

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

Changes

    • breaking

      request property was restricted to a list of enum values

    • breaking

      the request property type changed from object to string

    • warning

      removed the request property /

    This list may be incomplete.

    • info

      endpoint added