Create Custom Regex Rule

Create a new custom regex rule for the organization.

Authentication

AuthorizationBearer

Token-based authentication with required prefix “Bearer”

Request

This endpoint expects an object.
namestringRequired
regexstringRequired
scoredoubleOptionalDefaults to 0.5
inbound_actionenumOptionalDefaults to REDACT
* `BLOCK` - BLOCK * `REDACT` - REDACT * `LOG` - LOG
Allowed values:
outbound_actionenumOptionalDefaults to REDACT
* `BLOCK` - BLOCK * `REDACT` - REDACT * `LOG` - LOG
Allowed values:
context_keywordslist of stringsOptional

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