Skip to main content

audit_events

Creates, updates, deletes, gets or lists an audit_events resource.

Overview

Nameaudit_events
TypeResource
Idnetlify.accounts.audit_events

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstring
account_idstring
payloadobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_idquery, log_type, page, per_page

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstring
log_typestring
pageinteger (int32)
per_pageinteger (int32)
querystring

SELECT examples

OK

SELECT
id,
account_id,
payload
FROM netlify.accounts.audit_events
WHERE account_id = '{{ account_id }}' -- required
AND query = '{{ query }}'
AND log_type = '{{ log_type }}'
AND page = '{{ page }}'
AND per_page = '{{ per_page }}'
;