PHP Client for Cloudflare API
Logs

Audit

Audit endpoint reference.

List

Gets a list of audit logs for an organization.

ParamTypeRequiredDefaultDescription
organizationIdstringYesOrganization identifier.
paramsarrayNo[]Array containing the necessary params, requires since and before.
php
$response = $client->organizations()->logs()->audit()->list('ORGANIZATION_ID', []);
View this operation on the Cloudflare API Reference

History

Returns the chronological change history for the resource identified by the given organization-scoped audit log entry.

ParamTypeRequiredDefaultDescription
organizationIdstringYesOrganization identifier.
idstringYesAudit log entry identifier used to locate the resource.
paramsarrayNo[]Array containing the necessary params, requires action_time, since and before.
php
$response = $client->organizations()->logs()->audit()->history('ORGANIZATION_ID', 'ID', []);
View this operation on the Cloudflare API Reference
Copyright © 2026