Skip to main content
PATCH
Update Advanced Rule

Authorizations

Authorization
string
header
required

Project API access key.

Aptranet-Secret
string
header
required

Current secret for the access key.

Path Parameters

domain_id
integer
required
rule_id
integer
required

Body

application/json
name
string | null
Required string length: 1 - 100
Example:

"Block foobar bot"

description
string | null
Maximum string length: 100
enabled
boolean | null
action
CustomerRuleAction · object | null
source
string | null
Minimum string length: 1
phase
enum<string> | null
Available options:
access,
header_filter,
body_filter

Response

Successful response.