Skip to content
Start here

Payload Logging

Get the payload logging key
client.Firewall.PayloadLogging.Get(ctx, query) (*PayloadLoggingKey, error)
GET/{accounts_or_zones}/{account_or_zone_id}/firewall/payload_logging/key
Set the payload logging key
client.Firewall.PayloadLogging.Update(ctx, params) (*PayloadLoggingKey, error)
PUT/{accounts_or_zones}/{account_or_zone_id}/firewall/payload_logging/key
Delete the payload logging key
client.Firewall.PayloadLogging.Delete(ctx, body) (*PayloadLoggingKey, error)
DELETE/{accounts_or_zones}/{account_or_zone_id}/firewall/payload_logging/key
ModelsExpand Collapse
type PayloadLoggingKey struct{…}
PublicKey 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