← All permissions
Repository permission·codespaces_lifecycle_admin:write
Codespaces lifecycle admin: Write
Tier 2 · Medium
Why Tier 2
Starts, stops and exports codespaces.
- Target
- Repository
- Plane
- DataCodespaces: Creating and running cloud development environments.
- Granted by
- Fine-grained PAT, GitHub App
- Available on
- Free, Team, Enterprise Cloud, EMU
What it unlocks
4 REST endpoints need this permission. A few of them:
- POST /user/codespaces/{codespace_name}/exports
- POST /user/codespaces/{codespace_name}/start
- POST /user/codespaces/{codespace_name}/stop
Roles that include it
No built-in role includes it. Only tokens, Apps or custom roles can grant it.
Classic scopes that reach it
Attack paths
No attack technique, escalation or incident on ghtier goes through this yet.
Other levels
GitHub Docs: Repository permissions for "Codespaces lifecycle admin"