← All permissions
Enterprise permission·enterprise_teams:write
Enterprise teams: Write
Tier 0 · Critical
Why Tier 0
Adds people to enterprise teams and teams to organizations. Teams carry enterprise and organization roles, so membership is role assignment.
- Target
- Enterprise
- Plane
- ControlIdentity: Members, teams, SCIM provisioning and the credentials attached to an account.
- Granted by
- GitHub App
- Available on
- Enterprise Cloud, EMU, Server
What it unlocks
11 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.
- POST /enterprises/{enterprise}/teams
- POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/add
- POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove
- PUT /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}
- DELETE /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}
- POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/add
- POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove
- PUT /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}
- DELETE /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}
- PATCH /enterprises/{enterprise}/teams/{team_slug}
- DELETE /enterprises/{enterprise}/teams/{team_slug}
Roles that include it
- T0Enterprise ownerEvery organization in the enterprise
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.