listSelfAuditLogs
Get List of change logs across all Orgs for current admin Audit logs records all administrative activities done by current admin across all orgs
Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.
Format:
Authorization: Token {apitoken}
Notes:
- An API token generated for a specific admin has the same privileges as that admin
- An API token is automatically removed if it is not used for more than 90 days
- SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.
In: header
Query Parameters
Filter results by message text
Field used to sort results; a leading - indicates descending order. enum: -timestamp, admin_id, site_id, timestamp
Value in
- "-timestamp"
- "admin_id"
- "site_id"
- "timestamp"
Lower bound of the time range, as an epoch timestamp in seconds or a relative value such as -1d or -1w
Upper bound of the time range, as an epoch timestamp in seconds or a relative value such as -1d, -2h, or now
Time range duration for the query, using relative units such as 10m, 7d, or 2w
"1d"Maximum number of results to return per page
0 <= value100Select the page number to return when using page-based pagination; starts at 1
1 <= value1Response Body
curl -X GET "https://example.com/api/v1/self/logs"{ "end": 1428954000, "limit": 100, "page": 1, "results": [ { "admin_id": "72bfa2bd-e58a-4670-9d20-a1468f7a6f58", "admin_name": "test@mistsys.com", "after": { "auth": { "type": "open" } }, "before": { "auth": { "type": "psk" } }, "id": "c6f9347b-b0a4-4a23-b927-fa9249f2ffb2", "message": "Update WLAN \"Corporate\"", "org_id": "423f6eca-6276-4994-bfeb-53cbbbba6f04", "site_id": "4ac1dcf4-9d8b-7211-65c4-057819f0862b", "timestamp": 1431382121 } ], "start": 1428939600, "total": 135}