Tailscale icon

Tailscale

Manage your Tailscale tailnet — devices, routes, and more

User → Set Role

AI-generated

Summary

Assign a specified role to a user in a Tailscale tailnet by sending a POST request to update the user's role.

Inputs

  • Authentication — Select whether to authenticate via API Key or OAuth2.
  • Tailnet Name or ID (required) — The name or ID of the tailnet your user belongs to. Choose from the list or select '-' for the default tailnet of the authenticated user. Expressions are supported.
  • User Name or ID (required) — The target user to assign the role to. Choose from the list or specify an ID using an expression.
  • Role (required) — The role to assign to the specified user. Options are Admin, Billing Admin, Member, or Owner.

Output shape

a single record indicating the success status typically from the Tailscale API's POST /user/{userId}/role endpoint.

The operation does not explicitly declare returned data in its routing configuration, so the output will be the API response from the Tailscale service for the role update request. No pagination or complex structures are involved.

Links

Discussion