Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.capy.sc/llms.txt

Use this file to discover all available pages before exploring further.

Synopsis

capy revoke-branch <email> <project> <branch>

Description

Revokes <email>’s grant on the named protected branch. Same operation as pressing g on a (granted) row in capy users, in non-interactive form. After revocation, the user’s next attempt to co-decrypt that branch returns 403. Their on-disk material for the branch becomes inert immediately (the service stops cooperating).

Example

$ capy revoke-branch alice@acme.com web-frontend production
Revoked alice@acme.com's access to web-frontend/production

Failure modes

Exit reasonCause
Project "<name>" not foundThe project name doesn’t match any project in this org
Branch "<name>" not found in projectThe branch doesn’t exist in that project
No member with email "<email>"The user isn’t a member of this org
Authentication failedYour local session expired; run capy to re-auth

See also