---
title: "Get SSO exemption"
method: GET
path: "/v2/authn/sso-config/accounts/{accountId}/exemptions/{exemptionId}"
tags: ["SSO Exemptions"]
---

# Get SSO exemption

`GET /v2/authn/sso-config/accounts/{accountId}/exemptions/{exemptionId}`

## Request

- Base URL: `https://api.alianza.com`
- URL: `https://api.alianza.com/v2/authn/sso-config/accounts/{accountId}/exemptions/{exemptionId}`
- Auth: API key in header `X-AUTH-TOKEN`

Retrieves a specific SSO exemption by ID.

## Path parameters

- `accountId` string, required
- `exemptionId` string, required

## Response `200`

Exemption found

- 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 - Exemption not found
- `500`: Internal Server Error - Failed to retrieve exemption

---

[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)
