Logs
Audit
Audit endpoint reference.
List
Gets a list of audit logs for an account.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account identifier. | |
params | array | No | [] | Array containing the necessary params, requires since and before. |
php
$response = $client->accounts()->logs()->audit()->list('ACCOUNT_ID', []);
History
Returns the chronological change history for the resource identified by the given audit log entry.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account identifier. | |
id | string | Yes | Audit log entry identifier used to locate the resource. | |
params | array | No | [] | Array containing the necessary params, requires action_time, since and before. |
php
$response = $client->accounts()->logs()->audit()->history('ACCOUNT_ID', 'ID', []);
Product Categories
Lists the available audit log product categories and the resource products each one expands to.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account identifier. |
php
$response = $client->accounts()->logs()->audit()->productCategories('ACCOUNT_ID');

