TeamMemberChange
A person put on a team, or — with dry_run — what putting them there would do.
Shape
- dry_runbooleanWhether this was only a preview, and nothing was changed.
gained_accessTeamAccessReachThe team's access, which the person now has through it.
- 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.
memberTeamMember
- The TeamMember schema
- created_atstring · date-time
- roleTeamMemberRolemembermaintainerA member's place on a team. Maintainers manage the roster.
- team_idTeamId (string · uuid)
userActorSummary
- The ActorSummary schema
- emailstring
- idstring
- usernamestring
- avatar_urlstring or nulloptional
added_byActorSummary or nulloptional
- The ActorSummary schema
- emailstring
- idstring
- usernamestring
- avatar_urlstring or nulloptional
- expires_atstring · date-time or nulloptionalWhen their place on the team ends. After it, the team's access no longer reaches them.
- synced_atstring · date-time or nulloptionalWhen the identity provider last confirmed this place, for a mirrored roster.
Example
Synthesized example{
"dry_run": false,
"gained_access": {
"grants": 41,
"hidden_scopes": false,
"scopes_visible_to_you": 79
},
"member": {
"created_at": "2026-10-16T11:31:05Z",
"role": "member",
"team_id": "f58b62cf-9d39-4b19-918d-dd7bf01918d4",
"user": {
"email": "tomas@acme.example",
"id": "id-f138",
"username": "lin",
"avatar_url": "https://gitmoap.example/acme/d5432138"
},
"added_by": {
"email": "mara@acme.example",
"id": "id-798b",
"username": "tomas",
"avatar_url": "https://gitmoap.example/acme/f0608ca0"
},
"expires_at": "2026-10-08T10:36:54Z",
"synced_at": "2026-10-15T13:16:33Z"
}
}
Graph
Used inside
No schema contains this one.
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 1 operation