---
title: "Delete collection"
method: POST
path: "/v2beta/cms/collection/delete"
tags: ["Collections"]
---

# Delete collection

`POST /v2beta/cms/collection/delete`

## Request

- Base URL: `https://api.karte.io`
- URL: `https://api.karte.io/v2beta/cms/collection/delete`
- Auth: HTTP bearer

Craft Cross CMSのコレクションを削除します。

**注意:**
- 削除処理は復元できません
- コレクションに関連付けられたデータがある場合、削除が失敗する可能性があります

#### Required Scope
APIの実行に必要なScopeです。
```
beta.cms.collection.delete
```

#### Required Role
管理画面でScopeを追加する際に必要な権限です。
```
Craft Cross CMS > CMSの編集
```

## Headers

- `x-karte-api` string
- `authorization` string
- `content-type` string

## Request body

- object
  - `collectionId` string, required: 削除対象のコレクションID

## Response `200`

成功レスポンス

- object

## Other responses

- `400`: Bad Request. CMS Management API 400 responses include a non-empty detail.

---

[API](https://skmtc.dev/karte/apis/cms-management.md) - [All operations](https://skmtc.dev/karte/apis/cms-management/llms.txt) - [OpenAPI document](https://skmtc.dev/karte/apis/cms-management/revisions/275f2d6496ec?raw)
