Documentation Index
Fetch the complete documentation index at: https://docs.kavachos.com/llms.txt
Use this file to discover all available pages before exploring further.
Setup
PassadminUserIds when creating your KavachOS instance:
adminUserIds list. There is no role column, keep these IDs in environment variables, not hardcoded.
Listing users
id, email, name, banned, banReason, banExpiresAt, agentCount, and createdAt.
Banning users
Impersonation
Force password reset
user.forcePasswordReset after login and redirect to a reset flow.
Deleting users
revoked to preserve the audit trail, then removes the user record.
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /auth/admin/users | List users (limit, offset, search) |
| GET | /auth/admin/users/:id | Get user |
| POST | /auth/admin/users/:id/ban | Ban user |
| POST | /auth/admin/users/:id/unban | Unban user |
| DELETE | /auth/admin/users/:id | Delete user |
| POST | /auth/admin/impersonate/:userId | Impersonate user |
| POST | /auth/admin/stop-impersonation | End impersonation session |
Related
Organizations
Multi-tenant support with org-level roles and membership management.
API keys
Create scoped API keys for machine-to-machine callers.
Audit
Full activity trail for impersonation and admin actions.
SCIM
Automated user provisioning and deprovisioning via directory sync.