---
title: "Update an auth server trusted IdP"
method: PUT
path: "/v1/auth-servers/{authServerId}/trusted-idps/{authServerTrustedIdpId}"
tags: ["Auth Server Trusted IdPs"]
---

# Update an auth server trusted IdP

`PUT /v1/auth-servers/{authServerId}/trusted-idps/{authServerTrustedIdpId}`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v1/auth-servers/{authServerId}/trusted-idps/{authServerTrustedIdpId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Replace a trusted IdP for a given auth server. The request body is the full representation; omitted optional fields are reset to their defaults.

## Path parameters

- `authServerId` string, uuid, required
- `authServerTrustedIdpId` string, uuid, required

## Request body

- UpdateAuthServerTrustedIdpPayload
  - `issuer_url` string, uri, required: The issuer URL of the trusted IdP. Unique per auth server.
  - `display_name` string, nullable: A human-friendly display name for the trusted IdP, distinct from its unique `issuer_url`.
  - `jwks_uri` string, uri: JWKS URI of the trusted IdP. Overrides OIDC discovery when set.
  - `directory_id` string, uuid, required: The Kong Identity directory used for principal lookup and provisioning.
  - `id_jag_enabled` boolean: Whether ID-JAG (jwt-bearer) token exchange is enabled.
  - `jit_provisioning_enabled` boolean: Whether principals are provisioned just-in-time on first exchange. Defaults to true; set false to opt out.

## Response `200`

A trusted IdP

- AuthServerTrustedIdp
  - `id` string, uuid, required: The ID of the trusted IdP.
  - `auth_server_id` string, uuid, required: The auth server this trusted IdP belongs to.
  - `issuer_url` string, uri, required: The issuer URL of the trusted IdP. Unique per auth server.
  - `display_name` string, nullable: A human-friendly display name for the trusted IdP, distinct from its unique `issuer_url`.
  - `jwks_uri` string, uri: JWKS URI of the trusted IdP. Overrides OIDC discovery when set.
  - `directory_id` string, uuid, required: The Kong Identity directory used for principal lookup and provisioning.
  - `id_jag_enabled` boolean, required: Whether ID-JAG (jwt-bearer) token exchange is enabled.
  - `jit_provisioning_enabled` boolean, required: Whether principals are provisioned just-in-time on first exchange.
  - `created_at` string, date-time, required: An ISO-8601 timestamp representation of entity creation date.
  - `updated_at` string, date-time, required: An ISO-8601 timestamp representation of entity update date.

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `409`: Conflict

## Changes

- **2026-12-03** `9c8d300657bd`: 3 breaking, 21 info
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `404`
  - the response's body type changed from no type to `object` for status `409`
  - added the new optional request property `display_name`
  - …20 more
- **2026-09-01** `cef0f947e9c9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/konnect-api-beta/changes/v1/auth-servers/:authServerId/trusted-idps/:authServerTrustedIdpId/put.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api-beta.md) - [All operations](https://skmtc.dev/kong/apis/konnect-api-beta/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/konnect-api-beta/revisions/9c8d300657bd?raw)
