← All permissions
Organization permission·organization_user_blocking:write
Blocking users: Write
Tier 2 · Medium
Why Tier 2
Blocks and unblocks users who are not members. A block removes the user as a collaborator on every organization repository and cancels their pending invitations, so it cuts an outside collaborator off at once.
Management plane permissions start at Tier 1. This one is lowered for the reason above.
- Target
- Organization
- Plane
- ManagementOrganization policy: Org and enterprise settings, rulesets, Actions policy, custom properties and Copilot controls.
- Granted by
- Fine-grained PAT, GitHub App
- Available on
- Free, Team, Enterprise Cloud, EMU
What it unlocks
2 REST endpoints need this permission, from GitHub's docs data. Some also need another permission, and a few work with only one kind of token.
- PUT /orgs/{org}/blocks/{username}
- DELETE /orgs/{org}/blocks/{username}
Roles that include it
Classic scopes that reach it
No classic scope reaches it. Only fine-grained PATs, Apps or GITHUB_TOKEN can grant it.
Attack paths
No attack technique, escalation or incident on ghtier goes through this yet.