Actions32
- ACL / Policy Actions
- Auth Key Actions
- Device Actions
- DNS Actions
- User Actions
Device → Expire Key
AI-generatedSummary
Expire the key of a specified device within a selected Tailscale tailnet, making the device's key no longer valid for authentication.
Inputs
- Authentication — Choose between API Key or OAuth2 authentication methods for connecting to the Tailscale API.
- Tailnet Name or ID (required) — Select your tailnet organization name from the list or use '-' for the default tailnet of the authenticated user. You can also specify an ID via expressions.
- Device Name or ID (required) — Select the device by name or ID to expire its key. You can choose from the list or provide an ID using expressions.
Output shape
a single object containing a success boolean and the device ID
Returns JSON object with { "success": true, "deviceId":
} confirming key expiration. No pagination or additional data.
Examples
Example 1: Expire key of a device in a tailnet
Set 'Authentication' with valid credentials, select the target 'Tailnet Name or ID', and specify the 'Device Name or ID' whose key should be expired.