# ステータスの削除

`DELETE /api/status/{statusId}`

URL: https://repsona.com/ja/api/delete-status-statusid

ステータスを削除します。紐付いていたタスクはステータスなしになります。管理者とオーナーだけが使えます。

## パラメーター

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `statusId` | path | integer | 必須 | ステータスの ID です。 |

## リクエスト

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

## レスポンス

- 200: Status deleted
- 401: Authentication is required
- 403: Admin/owner role and project membership are required
- 404: Status not found

## レスポンスの例

```json
{}
```
