UpdateRuleRequest

constructor(url: String, pattern: PatternType, action: ActionType, reason: ReasonType, source: String? = "ozone/default", comment: String? = null, createdBy: Did? = null)

Parameters

url

The URL or domain to update the rule for

source

Source of the rule to update

comment

Optional comment about the update

createdBy

Optional DID to credit as the creator. Only respected for admin_token authentication.