Get Service Account MCP Connection
Returns the MCP gateway connection record of a service account and what it gives the account now.
Required scopes: auth:service-accounts:read (organisation-wide) or auth:apps:read:own (service accounts of applications owned by a team you belong to; never the auth application or an organisation-owned one)
Authorization
BearerAuth JWT access token for internal API access. Requires 'private' scope for most endpoints, 'admin' scope for administrative operations.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
urn:xeonr:auth:uid:service_account:
1 <= lengthResponse Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.ServiceAccountService/GetServiceAccountMcpConnection" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"version": "string",
"record": {
"teams": [
"string"
],
"allTeams": true,
"products": {
"property1": {
"toolsets": [
"string"
],
"teams": [
"string"
],
"resources": [
{
"type": "string",
"identifier": "string",
"actions": [
"string"
]
}
]
},
"property2": {
"toolsets": [
"string"
],
"teams": [
"string"
],
"resources": [
{
"type": "string",
"identifier": "string",
"actions": [
"string"
]
}
]
}
},
"allProducts": true,
"allToolsets": true,
"defaultToolsets": [
"string"
]
},
"updatedBy": "string",
"updatedAt": "2023-01-15T01:30:15.01Z",
"connection": {
"grantId": "string",
"version": "string",
"subject": "string",
"clientId": "string",
"clientName": "string",
"configured": true,
"products": [
{
"key": "string",
"name": "string",
"audience": "string",
"toolsets": [
"string"
],
"scopes": [
"string"
],
"teams": [
{
"urn": "string",
"slug": "string",
"name": "string"
}
],
"description": "string",
"toolsetTeams": [
{
"toolset": "string",
"teams": [
"string"
]
}
],
"resources": [
{
"type": "string",
"identifier": "string",
"actions": [
"string"
]
}
]
}
],
"unavailable": [
{
"product": "string",
"toolset": "string",
"reason": "string",
"scopes": [
"string"
],
"team": "string"
}
],
"subjectKind": "string"
}
}Get Service Account POST
Retrieves the details of a service account by its ID. **Required scopes:** `auth:service-accounts:read` (organisation-wide) or `auth:apps:read:own` (service accounts of applications owned by a team you belong to; never the auth application or an organisation-owned one)
List Service Accounts POST
Returns all service accounts belonging to an application. **Required scopes:** `auth:service-accounts:read` (organisation-wide) or `auth:apps:read:own` (service accounts of applications owned by a team you belong to; never the auth application or an organisation-owned one)