---
title: "Delete AI Config"
method: DELETE
path: "/api/v2/projects/{projectKey}/ai-configs/{configKey}"
tags: ["AI Configs"]
---

# Delete AI Config

`DELETE /api/v2/projects/{projectKey}/ai-configs/{configKey}`

Delete an existing AI Config.

## Path parameters

- `projectKey` string, required
- `configKey` string, required

## Response `204`

No content

## Other responses

- `400` — Bad request
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

## Changes

- **2026-02-28** `69c5c9aafe78` — 1 warning, 2 info
  - deleted the `header` request parameter `LD-API-Version`
  - api tag `AI Configs` added
  - api tag `AI Configs (beta)` removed

[Change history](https://skmtc.dev/launchdarkly/apis/launchdarkly-rest-api/changes/api/v2/projects/:projectKey/ai-configs/:configKey/delete.md)

---

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