---
title: "Delete Assets"
method: POST
path: "/api/v0/delete/assets"
tags: ["ingestion"]
---

# Delete Assets

`POST /api/v0/delete/assets`

Delete assets from a dataset by creating deletion jobs.  Supports deletion of up to 100 assets per request.  Assets can be identified by their Coactive Video/Image ID or path string.

## Headers

- `Authorization` string, required

## Request body

- DeleteAssetsRequest
  - `dataset_id` string, uuid, required
  - `assets` DeleteJobAsset[], required
    - `asset_type` 'image' | 'video', required — An enumeration.
    - `identifier` union, required — Either the Coactive Video/Image ID of the asset or a path string
      - string, uuid
      - string

## Response `202`

Deletion jobs enqueued

- DeleteAssetsResponse
  - `org_id` string, required
  - `dataset_id` string, uuid, required
  - `assets` DeleteAssetsResponseAssetsItems[], required
    - `asset_type` 'image' | 'video', required — An enumeration.
    - `identifier` union, required — Either the Coactive Video/Image ID of the asset or a path string
      - string, uuid
      - string
    - `delete_job_id` string, required — Beanie ObjectId as string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/coactive/apis/api-reference.md) · [All operations](https://skmtc.dev/coactive/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/coactive/api-reference/revisions/1223758be9ba/schema)
