Zero TrustZero Trust Accounts

Get logging settings for the Zero Trust account

GET
Fetches the current logging settings for Zero Trust account.

Path parameters

identifierstringRequired

Response

This endpoint returns an object
result
objectOptional
GET
1curl https://api.cloudflare.com/client/v4/accounts/699d98642c564d2e855e9661899b7252/gateway/logging \
2 -H "Authorization: Bearer <token>"
200Retrieved
1{
2 "result": {
3 "redact_pii": true,
4 "settings_by_rule_type": {}
5 }
6}