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

# Delete AI Config

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

Delete an existing AI Config.

## Path parameters

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

## Headers

- `LD-API-Version` 'beta', required

## Response `204`

No content

## Other responses

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

---

[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/b2724c5174d1/schema)
