---
title: "Switch Active Identity Provider"
method: POST
path: "/api/v1/actions/organization/switchActiveIdentityProvider"
tags: ["Identity Providers"]
---

# Switch Active Identity Provider

`POST /api/v1/actions/organization/switchActiveIdentityProvider`

## Request

- Base URL: `https://www.gooddata.ai`
- URL: `https://www.gooddata.ai/api/v1/actions/organization/switchActiveIdentityProvider`
- Auth: none declared

Switch the active identity provider for the organization. Requires MANAGE permission on the organization.

## Request body

- SwitchIdentityProviderRequest
  - `idpId` string, required: Identity provider ID to set as active for the organization.

## Response `204`

No Content

---

[API](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api/revisions/c728ef303bfb?raw)
