Details on the various actions that can be performed on the Audit Log resource, including the expected parameters and the potential responses.
Retrieves information on an audit log
var params = {
orgId: myOrgId,
auditLogId: myAuditLogId
};
// with callbacks
client.auditLog.get(params, function (err, result) {
if (err) { return console.error(err); }
console.log(result);
});
// with promises
client.auditLog.get(params)
.then(console.log)
.catch(console.error);
The client must be configured with a valid api access token to call this action. The token must include at least one of the following scopes: all.Organization, all.Organization.read, all.User, all.User.read, auditLog.*, or auditLog.get.
Name | Type | Required | Description | Default | Example |
---|---|---|---|---|---|
orgId | string | Y | ID associated with the organization | 575ed6e87ae143cd83dc4aa8 | |
auditLogId | string | Y | ID associated with the audit log | 57955788124b37010084c053 | |
losantdomain | string | N | Domain scope of request (rarely needed) | example.com |
Code | Type | Description |
---|---|---|
200 | Audit Log | Audit log information |
Code | Type | Description |
---|---|---|
400 | Error | Error if malformed request |
404 | Error | Error if audit log was not found |