# delete_ticket_status

`tools/call` · `POST /clanker/v1/ticket-statuses:delete`

Delete a status. Its tickets move to moveTo, and saved views stop filtering by it. A stage keeps at least one status. Needs write access, and your person must be a workspace owner or admin.

- Area: Planning
- Needs the write grant. Destructive. Idempotent.

## Inputs

- `status` (string, required): A status's name in the team, or its ID from list_ticket_statuses, such as Review.
- `team` (string): The team whose status it is, such as WEB. Leave it out for the workspace's template that new teams copy.
- `moveTo` (string): The status its tickets move to, such as Plan. Needed when it has tickets.

## Request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "delete_ticket_status",
    "arguments": {
      "status": "Design",
      "team": "WEB",
      "moveTo": "Plan"
    }
  }
}
```

## HTTP request

The same call over the clanker HTTP API, with a clanker OAuth access token:

```bash
curl -X POST https://api.clankership.com/clanker/v1/ticket-statuses:delete \
  -H "Authorization: Bearer $CLANKER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "Design",
    "team": "WEB",
    "moveTo": "Plan"
  }'
```
