team_revoke
Revoke a team member and re-key the team by minting a fresh data-encryption key at the next epoch and re-wrapping it to remaining members; remove their git-host access separately.
Instructions
Revoke a team member and forward re-key the team: appends the revocation, mints a fresh data-encryption key at the next epoch, and re-wraps it to every remaining member. Returns a checklist — you must separately remove the principal's git-host access, which Mazarbul cannot do.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional human-readable revocation reason recorded in the audit trail. | |
| principalUid | Yes | ULID of the principal to revoke. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checklist | Yes | Post-revoke operator checklist: what Mazarbul did and what you must still do. | |
| newDekEpoch | Yes | Epoch of the fresh DEK the remaining members were re-keyed to; the revoked principal has no grant here. | |
| rewrappedTo | No | Principal UIDs the new DEK was re-wrapped to (the remaining members). | |
| revokedPrincipalUid | Yes | Principal UID that was revoked. |