---
title: "Return One Identity Provider by ID"
method: GET
path: "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}"
tags: ["Federated Authentication"]
---

# Return One Identity Provider by ID

`GET /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}`

## Request

- Base URL: `https://cloud.mongodb.com`
- URL: `https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://cloud.mongodb.com/api/oauth/token`
  - HTTP digest

Returns one identity provider in the specified federation by the identity provider's id. To use this resource, the requesting Service Account or API Key must have the Organization Owner role in one of the connected organizations.

## Path parameters

- `federationSettingsId` string, required
- `identityProviderId` string, required

## Query parameters

- `envelope` boolean

## Response `200`

OK

## Other responses

- `400`: Bad Request.
- `401`: Unauthorized.
- `403`: Forbidden.
- `404`: Not Found.
- `429`: Too Many Requests.
- `500`: Internal Server Error.

---

[API](https://skmtc.dev/mongodb/apis/atlas-admin-api.md) - [All operations](https://skmtc.dev/mongodb/apis/atlas-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mongodb/apis/atlas-admin-api/revisions/e37e8ef8429f?raw)
