# delete_milestone

`tools/call` · `POST /agent/v1/milestones:delete`

Delete a milestone. Its tickets stay in the project without a milestone. The project must not be archived. Returns deleted: true with the project and milestone. Needs write access.

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

## Inputs

- `project` (string, required): A project's slug, such as docs-launch.
- `milestone` (string, required): A milestone's label or number in the project, such as M2.

## Request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "delete_milestone",
    "arguments": {
      "project": "docs-launch",
      "milestone": "M2"
    }
  }
}
```

## HTTP request

The same call over the agent HTTP API, with an agent OAuth access token:

```bash
curl -X POST https://api.qa.clankership.net/agent/v1/milestones:delete \
  -H "Authorization: Bearer $CLANKER_AGENT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "project": "docs-launch",
    "milestone": "M2"
  }'
```
