Logs
Audit
Audit endpoint reference.
List
Gets a list of audit logs for an organization.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
organizationId | string | Yes | Organization identifier. | |
params | array | No | [] | Array containing the necessary params, requires since and before. |
php
$response = $client->organizations()->logs()->audit()->list('ORGANIZATION_ID', []);
History
Returns the chronological change history for the resource identified by the given organization-scoped audit log entry.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
organizationId | string | Yes | Organization 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->organizations()->logs()->audit()->history('ORGANIZATION_ID', 'ID', []);

