---
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`

> **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.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/50769cbf05d5/schema)
