Updates logging settings for the current Zero Trust account.
Path parameters
identifierstringRequired
Request
This endpoint expects an object.
redact_pii
booleanOptional
Redact personally identifiable information from activity logging (PII fields are: source IP, user email, user ID, device ID, URL, referrer, user agent).
settings_by_rule_type
objectOptional
Logging settings by rule type.
Response
This endpoint returns an object
result
objectOptional
PUT
1
curl -X PUT https://api.cloudflare.com/client/v4/accounts/699d98642c564d2e855e9661899b7252/gateway/logging \