Update Custom Regex Rule

Update a custom regex rule. Name cannot be changed after creation.

Authentication

AuthorizationBearer

Token-based authentication with required prefix “Bearer”

Path parameters

rule_idstringRequiredformat: "uuid"

Request

This endpoint expects an object.
namestringOptional
regexstringOptional
scoredoubleOptional
inbound_actionenumOptional
* `BLOCK` - BLOCK * `REDACT` - REDACT * `LOG` - LOG
Allowed values:
outbound_actionenumOptional
* `BLOCK` - BLOCK * `REDACT` - REDACT * `LOG` - LOG
Allowed values:
context_keywordslist of stringsOptional
is_activebooleanOptional

Response

idstringformat: "uuid"
namestring
regexstring
scoredouble
context_keywordslist of strings
is_activeboolean
created_atdatetime
modified_atdatetime
inbound_actionenum or null
* `BLOCK` - BLOCK * `REDACT` - REDACT * `LOG` - LOG
Allowed values:
outbound_actionenum or null
* `BLOCK` - BLOCK * `REDACT` - REDACT * `LOG` - LOG
Allowed values:
defined_atstring