Skip to main content
PATCH
Update Custom 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
conditions
CustomRuleCondition · object[] | null
Required array length: 1 - 5 elements

Response

Successful response.