---
title: "ブロックの削除"
---

> Documentation Index
> Fetch the complete documentation index at: https://apidocs.cs-cart.jp/llms.txt
> Use this file to discover all available pages before exploring further.

# ブロックの削除

<span class="api-method api-method-delete">`DELETE`</span> `/blocks/{BLOCK_ID}`

指定されたブロックを削除するには、`/api/blocks/{BLOCK_ID}`に対してDELETEを送信します。 `{BLOCK_ID}`は、ブロックのIDです。

## リクエスト：ヘッダー

| Name          | Value              |
| ------------- | ------------------ |
| Content-Type  | `application/json` |
| Authorization | `Basic <認証情報>`     |

> **認証情報について**
>
> 認証情報は、ユーザーのEメールアドレスとAPIキーをコロンで連結したものをBase64エンコードしたものです。

## PATH パラメータ

| Name       | Type    | 説明      |
| ---------- | ------- | ------- |
| `BLOCK_ID` | integer | ブロックのID |

## レスポンス

### 204

```json
{}
```

### 400

```json
{
  "message":"Not Found",
  "status":404
}
```

Source: https://apidocs.cs-cart.jp/blocks/api-block-delete/index.mdx
