Skip to content
GitmoapAPIBeta
Schema

TeamDeletionPreview

What deleting a team does: its grants are revoked and its people lose what the team gave them.

Shape

  • accessTeamAccessReachThe grants revoked with the team.
    • The TeamAccessReach schema
    • grantsinteger · int64Grants the team holds.
    • hidden_scopesbooleanWhether the team also holds access somewhere you cannot see. Those places are never named.
    • scopes_visible_to_youinteger · int64Groups and repositories among them that you can see.
  • membersinteger · int64People on the team, each of whom loses the team's access.
  • team_idTeamId (string · uuid)

Example

Synthesized example
{
"access": {
"grants": 80,
"hidden_scopes": false,
"scopes_visible_to_you": 84
},
"members": 25,
"team_id": "50b98044-1f72-433f-b4bc-5b15654dd8d7"
}

Graph

Used inside

No schema contains this one.

Used by

Sent by 0 operations

No operation takes it as a request body.