---
title: "Return All Identity Providers in One Federation"
method: GET
path: "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders"
tags: ["Federated Authentication"]
---

# Return All Identity Providers in One Federation

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

Returns all identity providers with the provided protocol and type in the specified federation. If no protocol is specified, only SAML identity providers will be returned. If no `idpType` is specified, only WORKFORCE identity providers will be returned. 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

## Query parameters

- `envelope` boolean
- `itemsPerPage` integer
- `pageNum` integer
- `protocol` string[]
- `idpType` string[]

## 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-service-production.skmtc.workers.dev/v1/apis/mongodb/atlas-admin-api/revisions/e37e8ef8429f/schema)
