ReferenceService accounts
The gateways the service account can use now (members and above; platform staff read any team)
GET
/v1/teams/{team}/service-accounts/{serviceAccountId}/gatewaysIts team's enabled gateways (access team_member) and the enabled platform gateways granted to its team (access team_grant), by name. capabilityCount counts what the account reaches now: available capabilities, with its role applied to minimum roles on its team's gateways. Empty while the team is archived. A turned-off account still lists them (its keys are refused until it's turned on). A key can be limited to these gateways.
Path Parameters
team*string
Team slug or ID
serviceAccountId*string
Format
uuidResponse Body
application/json
application/json
curl -X GET "https://example.com/v1/teams/string/service-accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/gateways"{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string", "description": "string", "ownerKind": "team", "teamSlug": "string", "teamName": "string", "url": "string", "access": [ "team_member" ], "groups": [ "string" ], "capabilityCount": 0, "capturesPayloads": true, "needsPersonCount": 0 } ]}