PRIVATEService Accounts
Service Accounts
postCreate Service Account
Creates a new service account for an application. Returns the service account details and a JWT token (shown only once). **Required scopes:** `auth:service-accounts:edit` (organisation-wide) or `auth:apps:edit:own` (service accounts of applications owned by a team you are an owner of; never the auth application or an organisation-owned one)
postDelete Service Account
Permanently deletes a service account and invalidates its token. **Required scopes:** `auth:service-accounts:edit` (organisation-wide) or `auth:apps:edit:own` (service accounts of applications owned by a team you are an owner of; never the auth application or an organisation-owned one)
postDelete Service Account MCP Connection
Removes the MCP gateway connection record of a service account. Its gateway token and exchanges are refused from then on. **Required scopes:** `auth:service-accounts:edit` (organisation-wide) or `auth:apps:edit:own` (service accounts of applications owned by a team you are an owner of; never the auth application or an organisation-owned one)
postGet Service Account
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)
postGet 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)
postList Service Accounts
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)
postRegenerate Token
Generates a new JWT token for the service account. The old token will be immediately invalidated. **Required scopes:** `auth:service-accounts:edit` (organisation-wide) or `auth:apps:edit:own` (service accounts of applications owned by a team you are an owner of; never the auth application or an organisation-owned one)
postSet Service Account MCP Connection
Replaces the MCP gateway connection record of a service account: the products, toolsets and teams it may reach through the gateway. No wildcards; it grants nothing the account does not already hold. **Required scopes:** `auth:service-accounts:edit` (organisation-wide) or `auth:apps:edit:own` (service accounts of applications owned by a team you are an owner of; never the auth application or an organisation-owned one)
postUpdate Service Account
Updates a service account's configuration. Use update_mask to specify which fields to update. **Required scopes:** `auth:service-accounts:edit` (organisation-wide) or `auth:apps:edit:own` (service accounts of applications owned by a team you are an owner of; never the auth application or an organisation-owned one)
Global Search POST
Organisation-scoped search across applications, clients, users, service accounts, scopes, roles, and identity providers. Results are ordered by relevance and grouped by type for display. **Requires organisation administrator privileges.**
Create Service Account POST
Creates a new service account for an application. Returns the service account details and a JWT token (shown only once). **Required scopes:** `auth:service-accounts:edit` (organisation-wide) or `auth:apps:edit:own` (service accounts of applications owned by a team you are an owner of; never the auth application or an organisation-owned one)