Logs
LogsAudit
Get account audit logs (Version 2)
GET/accounts/{account_id}/logs/audit
Get resource change history from an account audit log entry (Version 2)
GET/accounts/{account_id}/logs/audit/{id}/history
List account audit log product categories (Version 2)
GET/accounts/{account_id}/logs/audit/product_categories
ModelsExpand Collapse
AuditListResponse object { id, account, action, 4 more }
AuditListResponse object { id, account, action, 4 more }
action: optional object { description, result, time, type } Provides information about the action performed.
action: optional object { description, result, time, type }
Provides information about the action performed.
actor: optional object { id, context, email, 4 more } Provides details about the actor who performed the action.
actor: optional object { id, context, email, 4 more }
Provides details about the actor who performed the action.
id: optional string
The ID of the actor who performed the action. If a user performed the action, this will be their User ID.
context: optional "api" or "api_key" or "api_token" or 3 moreThe context in which the action was initiated.
api: The action was performed through the API. The specific credential type was not recorded.
api_key: The action was authenticated with a Cloudflare Global API Key.
api_token: The action was authenticated with an API token.
dash: The action was performed through the Cloudflare dashboard.
oauth: The action was authenticated with an OAuth token.
origin_ca_key: The action was authenticated with an Origin CA key.
context: optional "api" or "api_key" or "api_token" or 3 more
The context in which the action was initiated.
api: The action was performed through the API. The specific credential type was not recorded.api_key: The action was authenticated with a Cloudflare Global API Key.api_token: The action was authenticated with an API token.dash: The action was performed through the Cloudflare dashboard.oauth: The action was authenticated with an OAuth token.origin_ca_key: The action was authenticated with an Origin CA key.
raw: optional object { cf_ray_id, method, status_code, 2 more } Provides raw information about the request and response.
raw: optional object { cf_ray_id, method, status_code, 2 more }
Provides raw information about the request and response.
AuditHistoryResponse = array of object { id, account, action, 4 more }
AuditHistoryResponse = array of object { id, account, action, 4 more }
action: optional object { description, result, time, type } Provides information about the action performed.
action: optional object { description, result, time, type }
Provides information about the action performed.
actor: optional object { id, context, email, 4 more } Provides details about the actor who performed the action.
actor: optional object { id, context, email, 4 more }
Provides details about the actor who performed the action.
id: optional string
The ID of the actor who performed the action. If a user performed the action, this will be their User ID.
context: optional "api" or "api_key" or "api_token" or 3 moreThe context in which the action was initiated.
api: The action was performed through the API. The specific credential type was not recorded.
api_key: The action was authenticated with a Cloudflare Global API Key.
api_token: The action was authenticated with an API token.
dash: The action was performed through the Cloudflare dashboard.
oauth: The action was authenticated with an OAuth token.
origin_ca_key: The action was authenticated with an Origin CA key.
context: optional "api" or "api_key" or "api_token" or 3 more
The context in which the action was initiated.
api: The action was performed through the API. The specific credential type was not recorded.api_key: The action was authenticated with a Cloudflare Global API Key.api_token: The action was authenticated with an API token.dash: The action was performed through the Cloudflare dashboard.oauth: The action was authenticated with an OAuth token.origin_ca_key: The action was authenticated with an Origin CA key.
raw: optional object { cf_ray_id, method, status_code, 2 more } Provides raw information about the request and response.
raw: optional object { cf_ray_id, method, status_code, 2 more }
Provides raw information about the request and response.