---
title: "Delete AI Model version spec"
method: DELETE
path: "/v1/ai-models/{aiModelId}/versions/latest/spec"
tags: ["Catalog AI Model Specs"]
---

# Delete AI Model version spec

`DELETE /v1/ai-models/{aiModelId}/versions/latest/spec`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v1/ai-models/{aiModelId}/versions/latest/spec`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Deletes the `latest` version's oas specification.

## Path parameters

- `aiModelId` string, uuid, required

## Response `204`

Successfully deleted the spec

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

## Changes

- **2026-10-07** `59663dd13a10`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/konnect-api-go-sdk/changes/v1/ai-models/:aiModelId/versions/latest/spec/delete.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api-go-sdk.md) - [All operations](https://skmtc.dev/kong/apis/konnect-api-go-sdk/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4?raw)
