---
title: "Get service-principal classification config"
method: GET
path: "/api/v1/databricks/users/service-principal-config"
tags: ["DATABRICKS", "Databricks", "Databricks Users"]
deprecated: true
---

# Get service-principal classification config

`GET /api/v1/databricks/users/service-principal-config`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/api/v1/databricks/users/service-principal-config`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

> **Deprecated.**

Return the tenant's prefix/regex patterns used to classify service principals.

The built-in application-id UUID rule is always applied in addition to
these. Returns empty lists when no config has been saved.

## Headers

- `x-tenant` string, required

## Response `200`

Successful Response

- DatabricksServicePrincipalConfig: Tenant-configured patterns for classifying service-principal identities. The built-in application-id UUID rule is always applied in addition to these. An identity is treated as SERVICE_PRINCIPAL if it matches the UUID pattern, starts with any of ``prefixes``, or fully matches any of ``regexes``.
  - `prefixes` string[]: Identifier prefixes (e.g. 'svc', 'sa_') that mark a service principal.
  - `regexes` string[]: Regexes (RE2-compatible) that mark a service principal. The same pattern runs in Python `re` and ClickHouse `match()`, so RE2-only-incompatible syntax (lookaround, backreferences, possessive quantifiers) is rejected. Should be self-anchored if exact match is desired.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/myaltimate/apis/myaltimate-api.md) - [All operations](https://skmtc.dev/myaltimate/apis/myaltimate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/myaltimate/apis/myaltimate-api/revisions/727657ce54e9?raw)
