Cloudflare

Update zone access rule

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Update the rule state and/or note for a zone. You can only edit rules in the zone scope via this action.

Inputs

Champ

Type

Description

zoneId [required]

string

ruleId [required]

string

mode

enum

The action to apply to a matched request. Allowed enum values: whitelist,block,challenge,js_challenge,managed_challenge

notes

string

A personal note about the rule. Typically used as a reminder or explanation for the rule.

Outputs

Expand All

Champ

Type

Description

accessRule [required]

object

id [required]

string

notes [required]

string

mode [required]

enum

configuration [required]

object

target [required]

string

value [required]

string

created_on [required]

string

modified_on [required]

string

allowed_modes [required]

[string]

scope [required]

object

id [required]

string

email

string

name

string

type [required]

string

paused

boolean