# revoke_cli_session

`tools/call` · `POST /clanker/v1/cli-sessions:revoke`

End one of your person's CLI sign-ins, such as on a computer they no longer use. The CLI there must sign in again. Needs write access.

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

## Inputs

- `session` (string, required): The sign-in's ID from list_cli_sessions, such as Cs8vN1qLm3Zx.

## Request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "revoke_cli_session",
    "arguments": {
      "session": "Cs8vN1qLm3Zx"
    }
  }
}
```

## 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/cli-sessions:revoke \
  -H "Authorization: Bearer $CLANKER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "session": "Cs8vN1qLm3Zx"
  }'
```
