UpdateRuleRequest

data class UpdateRuleRequest(val url: String, val pattern: PatternType, val action: ActionType, val reason: ReasonType, val source: String? = "ozone/default", val comment: String? = null, val 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.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard

Optional comment about the update

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Source of the rule to update

Link copied to clipboard
val url: String

The URL or domain to update the rule for