---
title: "Get a management user's sso status"
method: GET
path: "/v2/partition/{partitionId}/managementuser/{id}/sso"
tags: ["Management User"]
---

# Get a management user's sso status

`GET /v2/partition/{partitionId}/managementuser/{id}/sso`

## Request

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

Use to retrieve a management user's sso status. To fully understand the meaning of this, it is key to realize that Alianza uses Okta in our authorization pipeline, and every managementUser has a corresponding Okta user according to the Okta API.  When you query this, we return the <a href="https://developer.okta.com/docs/reference/api/users/#user-status">user.status</a> of the Okta user.

## Path parameters

- `id` string, required
- `partitionId` string, required

## Response `200`

Successful operation

- SsoUserX: This is only the <a href="https://developer.okta.com/docs/reference/api/users/#user-status">user.status</a> of an Okta user which sits behind one of the Alianza user types. In our api, we represent this as a string, but in Okta, it in an enumeration whose possible values are <ul><li>STAGED</li><li>PROVISIONED</li><li>ACTIVE</li><li>RECOVERY</li><li>LOCKED_OUT</li><li>PASSWORD_EXPIRED</li><li>SUSPENDED</li><li>DEPROVISIONED</li></ul> at the time of this writing.
  - `ssoStatus` string

## Other responses

- `400`: Invalid request parameters
- `401`: Unauthorized
- `404`: Path Error, probably a bad partition ID or management user ID

---

[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/7223246c352c?raw)
