---
title: "Delete a trusted IdP"
method: DELETE
path: "/v2/directories/{directoryId}/trusted-idps/{trustedIdpId}"
tags: ["Trusted IdPs"]
---

# Delete a trusted IdP

`DELETE /v2/directories/{directoryId}/trusted-idps/{trustedIdpId}`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v2/directories/{directoryId}/trusted-idps/{trustedIdpId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Delete a trusted IdP for a given directory.

## Path parameters

- `directoryId` string, uuid, required
- `trustedIdpId` string, uuid, required

## Response `204`

Success

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

## Changes

- **2026-11-05** `f018071a4515`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/konnect-api/changes/v2/directories/:directoryId/trusted-idps/:trustedIdpId/delete.md)

---

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