Python
Custom Rules
Update a custom rule
Only properties present in the request will be updated
PATCH
Python
Documentation Index
Fetch the complete documentation index at: https://gcore-doc-1046.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Body
application/json
A request to update a WAAP rule
The name assigned to the rule
Required string length:
1 - 100Pattern:
^[A-Za-z0-9\s.:'";<>?&|\\]+$Example:
"Block foobar bot"
The description assigned to the rule
Maximum string length:
100Whether or not the rule is enabled
The action that the rule takes when triggered
The conditions required for the WAAP engine to trigger the rule. Rules may have between 1 and 5 conditions. All conditions must pass for the rule to trigger
Required array length:
1 - 5 elementsResponse
Successful Response