The Audit Log API monitors API calls and activities on the Bare Metal Cloud (BMC) account. The system records user actions by creating event logs for each API action automatically. Events include powering off a server, restarting, billing changes, deleting an SSH key, and similar.
Users can see audit logs for their own accounts only.
All API requests in this guide are relative to:
https://api.phoenixnap.com/audit/v1Code language: HTTP (http)
Prerequisites
BMC API access token with the audit.read scope (see API credentials).
View Event Logs
Send a request to:
GET /eventsCode language: HTTP (http)
Event timestamps are in UTC. Use different query parameters to customize the result further.