Tailscale icon

Tailscale

Manage your Tailscale tailnet — devices, routes, and more

Device → Set Name

AI-generated

Summary

Set the name of a specific device in your Tailscale tailnet.

Inputs

  • Authentication — Choose the authentication method for the API request: API Key or OAuth2.
  • Tailnet Name or ID (required) — Specify your tailnet organization name or select the default tailnet of the authenticated user.
  • Device Name or ID (required) — Select the device to update by its name or ID, or enter the device node ID manually.
  • Name (required) — Provide the new name to set for the specified device.

Output shape

a JSON object indicating success and the device ID (e.g., { "success": true, "deviceId": "" }).

This operation returns a simple success confirmation with the device ID. Authentication parameters and the target tailnet and device must be specified. The new device name is sent in the request body under the 'name' property.

Links

Discussion