---
title: "Delete a collection (removes the reference from every goal that referenced it)."
method: DELETE
path: "/v1/collections/{collectionId}"
tags: ["Public API v1"]
---

# Delete a collection (removes the reference from every goal that referenced it).

`DELETE /v1/collections/{collectionId}`

## Request

- Base URL: `https://api.mynextadventure.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mynextadventure.cloud/v1/collections/{collectionId}`
- Auth: API key in header `X-API-Key`

## Path parameters

- `collectionId` string, required

## Response `200`

- DeleteCollectionResultV1Dto
  - `deleted` boolean, required
  - `id` string, required: Id of the deleted collection.

## Other responses

- `404`: Collection not found or not owned by caller.

---

[API](https://skmtc.dev/mynextadventure/apis/mynextadventure-public-api.md) · [All operations](https://skmtc.dev/mynextadventure/apis/mynextadventure-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mynextadventure/apis/mynextadventure-public-api/revisions/a246114e73a0?raw)
