# ノートの削除

`DELETE /api/note/{noteId}`

URL: https://repsona.com/ja/api/delete-note-noteid

ノートと、その下のノートを削除します。

## パラメーター

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `noteId` | path | integer | 必須 | ノートの ID |

## リクエスト

```sh
curl -X DELETE "https://<space>.repsona.com/api/note/{noteId}" \
  -H "Authorization: Bearer $REPSONA_API_KEY"
```

## レスポンス

- 200: Note deleted
- 400: Invalid note identifier
- 401: Authentication is required
- 404: Note not found

## レスポンスの例

```json
{
  "deletedNoteIds": [
    187,
    188
  ]
}
```
