---
title: "Model Delete"
method: DELETE
path: "/v2/{entity}/{project}/models/{object_id}"
tags: ["Models"]
---

# Model Delete

`DELETE /v2/{entity}/{project}/models/{object_id}`

Delete a model object. If digests are provided, only those versions are deleted. Otherwise, all versions are deleted.

## Path parameters

- `entity` string, required
- `project` string, required
- `object_id` string, required

## Query parameters

- `digests` string[], nullable — List of digests to delete. If not provided, all digests for the model will be deleted.

## Response `200`

Successful Response

- ModelDeleteRes
  - `num_deleted` integer, required — Number of model versions deleted

## Other responses

- `422` — Validation Error

## Changes

- **2026-02-02** `56745769989b` — 1 info
  - endpoint added
- **2026-01-07** `3758bf263a5e` — 1 breaking
  - api path removed without deprecation
- **2026-01-07** `d6e39f7c717d` — 1 breaking, 2 info
  - removed the request body
  - api operation id `model_delete` removed and replaced with `model_delete_v2__entity___project__models__object_id__delete`
  - added the new optional `query` request parameter `digests`
- **2025-11-14** `e444bf379e61` — 1 info
  - endpoint added
- **2025-11-14** `b6cf2a1c4dac` — 1 breaking
  - api path removed without deprecation

[Full history](https://skmtc.dev/wandb/apis/fastapi/changes/v2/:entity/:project/models/:object_id/delete.md)

---

[API](https://skmtc.dev/wandb/apis/fastapi.md) · [All operations](https://skmtc.dev/wandb/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wandb/fastapi/revisions/56745769989b/schema)
