Remove a repository from a service account

Remove a repository grant when every job using the account should lose access to that repository but should keep access to its other grants.

The release-bot account can read store-api. Its repository grant, access level and granting administrator appear above the new grant form.
Check the repository and access level on the service account before issuing keys. Fictional demo workspace.

Remove the specific grant#

In Settings → API tokens → Service accounts, find the service account and inspect its granted repositories and access levels. Select Revoke beside the repository you intend to remove.

Keys cannot read beyond the service account's current grants. To stop a single job while leaving other jobs' access in place, revoke that job's key under Tokens instead.

Search help

Tab to a result. Enter to open. Escape to close.