Hanzo
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 URLhttps://api.hanzo.ai
Version1.0.0
Operations6

Authentication

  • bearerAuth
  • oauth2 — OAuth 2.0
  • apiKey — 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.ai

Endpoints

Enforcement

MethodEndpointDescription
POST/v1/authz/checkCheck a permission

Health

MethodEndpointDescription
GET/v1/authz/healthLiveness probe
GET/v1/authz/readyzReadiness probe

Policies

MethodEndpointDescription
GET/v1/authz/policiesList policies
POST/v1/authz/policiesAdd a policy
DELETE/v1/authz/policiesRemove a policy

All Hanzo APIs · OpenAPI spec

How is this guide?

On this page