---
title: "Delete Collection"
method: DELETE
path: "/v3/universal-ai/collections/{collection_id}"
tags: ["collections"]
---

# Delete Collection

`DELETE /v3/universal-ai/collections/{collection_id}`

## Request

- Base URL: `https://api.edenai.run`
- URL: `https://api.edenai.run/v3/universal-ai/collections/{collection_id}`
- Auth: HTTP bearer

Delete a collection.

Deletes it on the provider first, then removes the gateway ownership row.
A collection already gone on the provider still gets its row removed, so
delete is idempotent and half-failed deletes can always be cleaned up.

## Path parameters

- `collection_id` string, uuid, required

## Response `200`

Successful Response

- DeleteCollectionResponse: Result of deleting a collection.
  - `collection_id` string, uuid, required
  - `deleted` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/edenai/apis/eden-ai-api-v3.md) - [All operations](https://skmtc.dev/edenai/apis/eden-ai-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/edenai/apis/eden-ai-api-v3/revisions/20ddfd49a3f4?raw)
