# Delete status

`DELETE /api/status/{statusId}`

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

Deletes a status. Tasks referencing it are reset to no status. Admin/owner only.

## Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `statusId` | path | integer | required | The ID of the status. |

## Request

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

## Responses

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

## Example response

```json
{}
```
