ghtier
← 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, from GitHub's docs data. Some also need another permission, and a few work with only one kind of token.

  • POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stopalso needs Organization codespaces: Write
  • POST /user/codespaces/{codespace_name}/exportsuser access tokens only
  • POST /user/codespaces/{codespace_name}/startuser access tokens only
  • POST /user/codespaces/{codespace_name}/stopuser access tokens only

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"