List Team Service Accounts
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
JWT access token obtained via OAuth2 flow or service account
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
A team URN or slug.
1 <= length <= 128Response 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"
]
}
]
}Delete Team Service Account POST
Deletes one of the calling application's team service accounts: revokes every API key it owns, drops its team memberships and removes it. Cannot be undone. `on_behalf_of_user` is held to the same standing as on creation. Service accounts only, of a platform application. **Required scopes:** `auth:service-accounts:manage:own`
Update Team Service Account POST
Changes the fields named in `update_mask` (`description`, `enabled`, `application_roles`, `scopes`) of one of the calling application's team service accounts. Disabling refuses its keys at verification and its tokens at use. `on_behalf_of_user` is held to the same standing as on creation, against the account's owning team. Service accounts only, of a platform application. **Required scopes:** `auth:service-accounts:manage:own`