---
title: "Removes a third-party auth integration"
method: DELETE
path: "/v1/projects/{ref}/config/auth/third-party-auth/{tpa_id}"
tags: ["Auth"]
---

# Removes a third-party auth integration

`DELETE /v1/projects/{ref}/config/auth/third-party-auth/{tpa_id}`

## Path parameters

- `ref` string, required
- `tpa_id` string, uuid, required

## Response `200`

- ThirdPartyAuth
  - `id` string, uuid, required
  - `type` string, required
  - `oidc_issuer_url` string, nullable
  - `jwks_url` string, nullable
  - `custom_jwks` unknown
  - `resolved_jwks` unknown
  - `inserted_at` string, required
  - `updated_at` string, required
  - `resolved_at` string, nullable

## Other responses

- `401` — Unauthorized
- `403` — Forbidden action
- `429` — Rate limit exceeded

---

[API](https://skmtc.dev/supabase/apis/management-api.md) · [All operations](https://skmtc.dev/supabase/apis/management-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/supabase/management-api/revisions/a7cb39418064/schema)
