---
title: "Delete a collection"
method: DELETE
path: "/v1/collections/{collectionId}"
tags: ["Collections"]
---

# Delete a collection

`DELETE /v1/collections/{collectionId}`

## Request

- Base URL: `https://stashr.me`
- URL: `https://stashr.me/v1/collections/{collectionId}`
- Auth: HTTP bearer

Delete a collection. Requires the destructive scope and the literal query parameter confirm=true; without it the request fails with 400 instead of deleting. Removes the collection, never its bookmarks.

## Path parameters

- `collectionId` string, uuid, required

## Query parameters

- `confirm` 'true', required

## Response `200`

The deleted collection's id

- object
  - `data` object, required
    - `id` string, uuid, required

## Other responses

- `400`: Malformed request (error.code bad_request or invalid_json)
- `401`: Missing, invalid, or expired credentials (error.code unauthorized)
- `402`: A Pro plan or active trial is required (error.code payment_required)
- `403`: The credential lacks the required scope (error.code forbidden)
- `404`: The resource does not exist or belongs to another account (error.code not_found)
- `422`: Validation failed; error.details.issues lists the fields (error.code validation_error)
- `429`: Too many requests (error.code rate_limited); wait Retry-After seconds, also given as error.retryAfterMs
- `500`: Something failed on Stashr's side (error.code internal_error); retryable

---

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