Hanzo
OpenapiAuthz

Ask whether a subject may act on an object

Answers one policy question — may this subject take this action on this object — against the CALLER'S OWN org policy set, and answers it with a bare…

POST /v1/authz/check

Addresshttps://api.hanzo.ai/v1/authz/check
MethodPOST
Operationpost_authz_check
AuthAuthorization: Bearer $HANZO_API_KEY

Answers one policy question — may this subject take this action on this object — against the CALLER'S OWN org policy set, and answers it with a bare allow/deny.

The org comes from the gateway-minted X-Org-Id and picks the per-org enforcer, so a decision is always rendered by that tenant's policies and never by another's. A request carrying no org is refused rather than answered from a shared or default set: collapsing tenants together is the one failure a policy engine must not have.

Body: {sub, obj, act}, all three required. The reply echoes them beside allow so a cached or logged decision carries the question it answered.

Request

The document declares no body for POST /v1/authz/check. The handler is typed in cloud but its shape is not yet emitted, so the fields are not listed here — ask the MCP door's describe for post_authz_check, which answers from the running route.

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo authz check

Authz API · All Hanzo APIs · Interactive reference

How is this guide?

On this page