ServiceAccount
Shape
- access_levelAccessLevelguestreporterdevelopermaintainerowner
- created_atstring
created_byActorSummary
- The ActorSummary schema
- emailstring
- idstring
- usernamestring
- avatar_urlstring or nulloptional
- emailEmail (string)
- nameServiceAccountName (string)
- scope_idstring
- scope_typeScopeTypegrouprepository
- service_account_idServiceAccountId (string · uuid)
- usernamestring
- avatarstring or nulloptional
Example
Synthesized example{
"access_level": "guest",
"created_at": "2026-10-16T10:41:46Z",
"created_by": {
"email": "lin@acme.example",
"id": "id-bb73",
"username": "lin",
"avatar_url": "https://gitmoap.example/acme/515466be"
},
"email": "mara@acme.example",
"name": "payments-api",
"scope_id": "1d10f099-62ec-4165-9997-9adb7d37dd89",
"scope_type": "group",
"service_account_id": "c9d2c28f-fdf8-4937-93e5-e25a57a69b76",
"username": "tomas",
"avatar": "avatar-2b89"
}
Graph
Used inside
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 6 operations
- GETList service accounts in a group/groups/{group_id}/service-accounts
- POSTCreate a service account scoped to a group/groups/{group_id}/service-accounts
- GETList service accounts in a repository/repositories/{repo_id}/service-accounts
- POSTCreate a service account scoped to a repository/repositories/{repo_id}/service-accounts
- GETGet a service account by ID/service-accounts/{sa_id}
- PATCHUpdate a service account/service-accounts/{sa_id}