Python
Firewall Rules
Update a firewall rule
Only properties present in the request will be updated
PATCH
Python
Documentation Index
Fetch the complete documentation index at: https://gcore-doc-915.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
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 condition required for the WAAP engine to trigger the rule.
Required array length:
1 elementResponse
Successful Response