FruxonDocs
UsersAPI Access

List a service account's lifecycle audit events.

Returns the provisioned / rotated / revoked / used-while-revoked events for the service account, newest-first. This is the compliance-grade lifecycle trail of the principal; per-request activity for its keys lives under the API-key activity surface.

GET
/v1/tenants/{tenant}/serviceAccounts/{serviceAccount}/auditEvents
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

serviceAccount*string

The unique identifier of the service account.

tenant*string

The tenant identifier

Query Parameters

PageSize?integer

The maximum number of items to return per page

Formatint32
PageToken.Skip?integer
Formatint32
PageToken.Cursor?string

Opaque cursor token from an external system (e.g. RAG API). When set, M:Fruxon.Common.Collections.PageToken.AsString returns this value directly instead of encoding Fruxon.Common.Collections.PageToken.Skip.

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/serviceAccounts/string/auditEvents"
{
  "items": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "serviceAccountId": "00000000-0000-0000-0000-000000000000",
      "serviceAccountName": "string",
      "eventType": "PROVISIONED",
      "createdAt": 0,
      "actorId": "string",
      "actor": "string",
      "details": "string",
      "tenantId": "00000000-0000-0000-0000-000000000000"
    }
  ],
  "nextPageToken": "string",
  "totalCount": 0
}
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}