---
title: "Delete AI model by ID (deleteAiModelById)"
method: DELETE
path: "/api/ai/model/{modelUuid}"
tags: ["ai-model-controller"]
---

# Delete AI model by ID (deleteAiModelById)

`DELETE /api/ai/model/{modelUuid}`

Deletes the AI model record by its `id`. If a record with the specified `id` exists, the record is deleted and the endpoint returns `true`. If no such record exists, the endpoint returns `false`.

Available for users with 'TENANT_ADMIN' authority.

## Path parameters

- `modelUuid` string, uuid, required

## Response `200`

OK

- boolean

---

[API](https://skmtc.net/thingsboard/apis/thingsboard-rest-api.md) · [All operations](https://skmtc.net/thingsboard/apis/thingsboard-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thingsboard/thingsboard-rest-api/revisions/40169ccdec5c/schema)
