Skip to Content
Xeonr Developer Docs

List Team Service Accounts

POST
/xeonr.auth.api.v1.ServiceAccountsService/ListTeamServiceAccounts

Lists the calling application's service accounts owned by team, by name. Accounts created any other way are never listed.

Service accounts only, of a platform application.

Required scopes: auth:service-accounts:manage:own

Authorization

AuthorizationBearer <token>

JWT access token obtained via OAuth2 flow or service account

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

team?string

A team URN or slug.

Length1 <= length <= 128
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.ServiceAccountsService/ListTeamServiceAccounts" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "serviceAccounts": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "applicationId": "string",
      "ownerTeam": "string",
      "ownerTeamSlug": "string",
      "applicationRoles": [
        "string"
      ],
      "enabled": true,
      "createdBy": "string",
      "assertedBy": "string",
      "createdAt": "2023-01-15T01:30:15.01Z",
      "updatedAt": "2023-01-15T01:30:15.01Z",
      "scopes": [
        "string"
      ]
    }
  ]
}