simtrunkDocs
Audit log

The tenant's audit log

Every change made through the API, newest first: action, actor (user, robot, service or system), target, details and IP (ADR 0068). Filters: action, from, to (RFC 3339; to is exclusive), limit (1-100, default 20); the next page is ?to=<the last entry's time>. Requires the scope `audit:read`.

GET
/v1/audit-events

Every change made through the API, newest first: action, actor (user, robot, service or system), target, details and IP (ADR 0068). Filters: action, from, to (RFC 3339; to is exclusive), limit (1-100, default 20); the next page is ?to=<the last entry's time>. Requires the scope audit:read.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key, or an access token for one, through the API gateway.

Response Body

OK

application/json
  1. response
events?array<>
curl -X GET 'https://api.simtrunk.com/v1/audit-events'
{  "events": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "action": "line.created",      "actor": {        "type": "user",        "id": "string",        "name": "string"      },      "target": {        "type": "string",        "id": "string",        "label": "string"      },      "metadata": {},      "ip": "string",      "time": "2019-08-24T14:15:22Z"    }  ]}

How is this guide?