API Reference
Hanzo Authz API
Multi-tenant policy engine (Casbin fork) served at /v1/authz/* (hanzoai/authz).
Multi-tenant policy engine (Casbin fork) served at /v1/authz/* (hanzoai/authz).
Hanzo Authz API · All API references →
| Base URL | https://api.hanzo.ai |
| Version | 1.0.0 |
| Operations | 6 |
Authentication
bearerAuth—oauth2— OAuth 2.0apiKey— API key in header (X-API-Key)
All Hanzo APIs share one bearer credential and common error and pagination conventions. See API conventions.
curl -H "Authorization: Bearer $HANZO_API_KEY" https://api.hanzo.aiEndpoints
Enforcement
| Method | Endpoint | Description |
|---|---|---|
POST | /v1/authz/check | Check a permission |
Health
| Method | Endpoint | Description |
|---|---|---|
GET | /v1/authz/health | Liveness probe |
GET | /v1/authz/readyz | Readiness probe |
Policies
| Method | Endpoint | Description |
|---|---|---|
GET | /v1/authz/policies | List policies |
POST | /v1/authz/policies | Add a policy |
DELETE | /v1/authz/policies | Remove a policy |
How is this guide?