---
title: "List enforced SSO exemptions"
method: GET
path: "/v2/authn/sso-config/partitions/enforced/{partitionId}/exemptions"
tags: ["SSO Exemptions"]
---

# List enforced SSO exemptions

`GET /v2/authn/sso-config/partitions/enforced/{partitionId}/exemptions`

## Request

- Base URL: `https://api.alianza.com`
- URL: `https://api.alianza.com/v2/authn/sso-config/partitions/enforced/{partitionId}/exemptions`
- Auth: API key in header `X-AUTH-TOKEN`
- TypeScript: <https://skmtc.dev/alianza/apis/alianza-public-api/docs/v2/authn/sso-config/partitions/enforced/:partitionId/exemptions/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves all SSO exemptions for a partition with enforced SSO.

## Path parameters

- `partitionId` string, required

## Response `200`

Exemptions retrieved successfully

- SSOExemptionResponse[]
  - `exemptionId` string: Unique identifier for the exemption
  - `partitionId` string: ID of partition, refers to <a href="#/~schema/PartitionX">partition.id</a>
  - `accountId` string: ID of account, refers to <a href="#/~schema/Account">account.id</a>
  - `accountName` string: Name of the account
  - `exemptionName` string: Name of the exemption configuration
  - `exemptionType` 'USER' | 'GROUP' | 'ACCOUNT': Type of exemption target
  - `exemptions` string[]: List of exempted identifiers

## Other responses

- `401`: Unauthorized - Invalid or missing X-Auth-Token
- `404`: Not Found - No exemptions found for the partition
- `500`: Internal Server Error - Failed to retrieve exemptions

---

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