Skip to content
Start here

Payload Logging

Get the payload logging key
client.firewall.payloadLogging.get(PayloadLoggingGetParams { account_id, zone_id } params?, RequestOptionsoptions?): PayloadLoggingKey { public_key }
GET/{accounts_or_zones}/{account_or_zone_id}/firewall/payload_logging/key
Set the payload logging key
client.firewall.payloadLogging.update(PayloadLoggingUpdateParams { public_key, account_id, zone_id } params, RequestOptionsoptions?): PayloadLoggingKey { public_key }
PUT/{accounts_or_zones}/{account_or_zone_id}/firewall/payload_logging/key
Delete the payload logging key
client.firewall.payloadLogging.delete(PayloadLoggingDeleteParams { account_id, zone_id } params?, RequestOptionsoptions?): PayloadLoggingKey { public_key }
DELETE/{accounts_or_zones}/{account_or_zone_id}/firewall/payload_logging/key
ModelsExpand Collapse
PayloadLoggingKey { 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