Search documentation
karat

+

K

User Documentation ↗
Version 2.0

Get Log File Content

GET/api/v2/audit/organizations/{organizationRid}/logFiles/{logFileId}/content

Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:audit-read.

Path parameters

organizationRid
string
logFileId
string

The ID of an audit log file

Response body

body
string

Examples

Request

Copied!
1 2 3 curl \ \t-H "Authorization: Bearer $TOKEN" \ "https://$HOSTNAME/api/v2/audit/organizations/ri.multipass..organization.c30ee6ad-b5e4-4afe-a74f-fe4a289f2faa/logFiles/S2VlcEV4cGxvcmluZw==/content"

Error responses

Error Name
GetLogFileContentPermissionDeniedError CodePERMISSION_DENIED
Status Code403
DescriptionCould not content the LogFile.
ParametersorganizationRid, logFileId