Skip to Content
Xeonr Developer Docs

Delete Team Service Account

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

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

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

id?string

urn:xeonr:auth:uid:service_account:.

Length1 <= length <= 128
onBehalfOfUser?string

urn:xeonr:auth:uid:user: of the person asking. Required.

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

Response Body

application/json

application/json

curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.ServiceAccountsService/DeleteTeamServiceAccount" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "apiKeysRevoked": 0
}