---
title: "Obj Delete"
method: POST
path: "/obj/delete"
tags: ["Objects"]
---

# Obj Delete

`POST /obj/delete`

## Request

- Base URL: `https://trace.wandb.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://trace.wandb.ai/obj/delete`
- Auth: none declared

## Request body

- ObjDeleteReq
  - `project_id` string, required
  - `object_id` string, required
  - `digests` string[], nullable: List of digests to delete. If not provided, all digests for the object will be deleted.

## Response `200`

Successful Response

- ObjDeleteRes
  - `num_deleted` integer, required
  - `deleted_versions` DeletedObjVersion[], nullable: Metadata for each deleted object version, with digest aliases resolved to content digests. None when the backing server does not report it.
    - `digest` string, required
    - `base_object_class` string, nullable
    - `leaf_object_class` string, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `dd89fadfe4e4`: 4 info
  - the endpoint scheme security `HTTPBasic` was removed from the API
  - added the optional property `deleted_versions` to the response with the `200` status
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/wandb/apis/weights-biases-weave-stainless-api/changes/obj/delete/post.md)

---

[API](https://skmtc.dev/wandb/apis/weights-biases-weave-stainless-api.md) - [All operations](https://skmtc.dev/wandb/apis/weights-biases-weave-stainless-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wandb/apis/weights-biases-weave-stainless-api/revisions/f7643c49bf2e?raw)
