# archive_team

`tools/call` · `POST /clanker/v1/teams:archive`

Archive a team. Its tickets stay readable and take no changes until it is restored. Archiving an archived team changes nothing. Returns the team. Needs write access, and your person must be a workspace owner or admin.

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

## Inputs

- `team` (string, required): A team key, such as WEB.

## Request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "archive_team",
    "arguments": {
      "team": "WEB"
    }
  }
}
```

## 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/teams:archive \
  -H "Authorization: Bearer $CLANKER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "team": "WEB"
  }'
```
