Skip to content

Commit e97a54f

Browse files
committed
Add audit logs + tests
1 parent b62409a commit e97a54f

3 files changed

Lines changed: 411 additions & 1 deletion

File tree

‎team_admin_account_operations.yaml‎

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2431,6 +2431,46 @@ paths:
24312431
],
24322432
"total_count": 3,
24332433
}
2434+
/api/v2.1/org/{org_id}/admin/audit-logs/:
2435+
get:
2436+
tags:
2437+
- Activities & Logs
2438+
summary: List Audit Logs
2439+
operationId: listAuditLogs
2440+
description: Retrieves audit logs.
2441+
security:
2442+
- AccountTokenAuth: []
2443+
parameters:
2444+
- $ref: "#/components/parameters/page"
2445+
- $ref: "#/components/parameters/per_page"
2446+
- $ref: "#/components/parameters/org_id"
2447+
responses:
2448+
"200":
2449+
description: OK
2450+
content:
2451+
application/json:
2452+
schema:
2453+
type: object
2454+
example:
2455+
audit_log_list:
2456+
- username: 58e399fe8a3548abb7d7e346f5c94a30@auth.local
2457+
name: Org Admin
2458+
operation: group_rename
2459+
org_id: 87
2460+
detail:
2461+
id: 210
2462+
name: New Group Name
2463+
old_name: Test Group
2464+
created_at: "2026-06-03T14:21:28+02:00"
2465+
- username: 58e399fe8a3548abb7d7e346f5c94a30@auth.local
2466+
name: Org Admin
2467+
operation: group_create
2468+
org_id: 87
2469+
detail:
2470+
id: 210
2471+
name: Test Group
2472+
created_at: "2026-06-03T14:21:28+02:00"
2473+
count: 2
24342474
/api/v2.1/org/{org_id}/admin/group-member-audit/:
24352475
get:
24362476
tags:

0 commit comments

Comments
 (0)