---
title: "Create One Identity Provider"
method: POST
path: "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders"
tags: ["Federated Authentication"]
---

# Create One Identity Provider

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

Creates one identity provider within the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role in one of the connected organizations.

**Note**: This resource only supports the creation of OIDC identity providers.

## Path parameters

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