Reference

Record audit events

Adds what the console saw itself, such as sign-ins, to the audit log. Admin token only.

POST
/audit/events

Authorization

bearer
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
events*array<>
Items1 <= items <= 1000

Response Body

Done.

Example Request
curl -X POST 'https://example.com/v1/audit/events' \  -H 'Content-Type: application/json' \  -d '{  "events": [    {      "at": "2019-08-24T14:15:22Z",      "org": "string",      "actor": "string",      "action": "string",      "outcome": "ok",      "status": 0,      "method": "string",      "route": "string",      "requestId": "string",      "ip": "string",      "userAgent": "string",      "details": {        "property1": null,        "property2": null      }    }  ]}'
Example Response
Empty