---
title: "Disconnect Ai Provider"
method: DELETE
path: "/v2/ai-credentials/{provider}"
tags: ["v2 - AI Credentials"]
---

# Disconnect Ai Provider

`DELETE /v2/ai-credentials/{provider}`

## Request

- Base URL: `https://api.jubjubapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jubjubapp.com/v2/ai-credentials/{provider}`
- Auth: HTTP bearer

Disconnect an AI provider — clears the encrypted key.

## Path parameters

- `provider` string, required

## Headers

- `Authorization` string
- `X-JubJub-Service-Key` string
- `X-JubJub-Agent-Key` string
- `X-JubJub-Platform-Key` string
- `Origin` string
- `Referer` string
- `X-JubJub-Trial-Token` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jubjubapp/apis/jubjub-api.md) - [All operations](https://skmtc.dev/jubjubapp/apis/jubjub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jubjubapp/apis/jubjub-api/revisions/353157b296f2?raw)
