Skip to content
Start here

Payload Logging

Get the payload logging key
GET/{accounts_or_zones}/{account_or_zone_id}/firewall/payload_logging/key
Set the payload logging key
PUT/{accounts_or_zones}/{account_or_zone_id}/firewall/payload_logging/key
Delete the payload logging key
DELETE/{accounts_or_zones}/{account_or_zone_id}/firewall/payload_logging/key
ModelsExpand Collapse
PayloadLoggingKey object { public_key }
public_key: string

Defines the X25519 public key, as standard base64 of exactly 32 bytes, that encrypts matched payloads. Cloudflare stores only the public key; keep the private key to decrypt logged payloads.

maxLength44
minLength44