---
title: "Delete virtual model config"
method: DELETE
path: "/ai-gateway/virtual-model-configs/{vmcSlug}"
tags: ["ai-gateway"]
---

# Delete virtual model config

`DELETE /ai-gateway/virtual-model-configs/{vmcSlug}`

## Request

- Base URL: `https://api.vercel.com`
- URL: `https://api.vercel.com/ai-gateway/virtual-model-configs/{vmcSlug}`
- Auth: HTTP bearer

Delete a virtual model config by path slug (soft delete)

## Path parameters

- `vmcSlug` string, required

## Query parameters

- `ownerId` string
- `updatedBy` string
- `actingIp` string
- `actingUserAgent` string
- `teamId` string
- `slug` string

## Response `204`

- unknown

## Other responses

- `400`: One of the provided values in the request query is invalid.
- `401`: The request is not authorized.
- `403`: You do not have permission to access this resource.
- `404`
- `410`
- `500`

## Changes

- **2026-09-30** `6f68095b42b1`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/vercel/apis/api/changes/ai-gateway/virtual-model-configs/:vmcSlug/delete.md)

---

[API](https://skmtc.dev/vercel/apis/api.md) - [All operations](https://skmtc.dev/vercel/apis/api/llms.txt) - [OpenAPI document](https://skmtc.dev/vercel/apis/api/revisions/4a06e85c2848?raw)
