انتقل إلى المحتوى الرئيسي

Grant a bundle to a grantee for an organization

POST 

/api/v1/grants

Requires Idempotency-Key. Delegation narrows: the bundle's permissions must be a subset of the caller's own, for an organization inside the caller's own subtree; anything else is refused in the standard shape. Revoking a grant takes effect within one token lifetime: the gateway remembers a resolved principal for at most five minutes (principalCacheSeconds, never past the token's own expiry), and a revoked grant authorises until that entry expires.

Request​

Responses​

The grant was created.

Response Headers
    X-Correlation-Id

    The correlation id of the request, on every response including 401.