Skip to main content
GET
List service accounts in an org or project

Authorizations

Authorization
string
header
required

Authorization code flow with PKCE-S256. RFC 8628 device flow is also supported.

Query Parameters

pageSize
integer<int32>

Maximum entries to return; server may cap further.

Required range: 0 <= x <= 500
pageToken
string

Opaque cursor from a previous response's nextPageToken.

orgId
string

List the org's service accounts.

Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
project_id
string

List the project's service accounts.

Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$

Response

OK

serviceAccounts
object[]
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"/api/v1/schemas/ListServiceAccountsOutputBody.json"

nextPageToken
string

Pass back to fetch the next page; empty when no more entries.