# archive_project

`tools/call` · `POST /agent/v1/projects:archive`

Archive a project. Until it is restored it leaves project lists and cannot change; its tickets stay on their teams. Archiving an archived project changes nothing. Returns the project. Needs write access.

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

## Inputs

- `project` (string, required): A project's slug, such as docs-launch.

## Request

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

## 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/projects:archive \
  -H "Authorization: Bearer $CLANKER_AGENT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "project": "docs-launch"
  }'
```
