ts_expire_device
Force a device's key to expire, requiring it to re-authenticate to the tailnet. Useful for revoking access or enforcing re-authorization.
Instructions
Force key expiry on a device — it must re-authenticate. Requires TAILSCALE_WRITE_ENABLED=true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device_id": "<device_id>"
},
"name": "ts_expire_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Device nodeId (from ts_devices) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |