Create a team invite code
API key required. Mints an invite code (writ_inv_...) for the
caller’s tenant. Teammates pass it as inviteCode to
POST /v1/keys to join this tenant instead of getting their own —
they share the tenant’s audit log and policy but never receive the
sponsor token. Creating a new code rotates (invalidates) the old one,
so there is only ever one live invite code per tenant.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Response
Invite code minted.
Errors
401
Unauthorized Error