Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/mod.ts>UserService.createTokenImpersonate

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
method UserService.createTokenImpersonate
import { UserService } from "https://deno.land/x/windmill@v1.323.6/mod.ts";

create token to impersonate a user (require superadmin)

Parameters

unnamed 0: { requestBody: NewTokenImpersonate; }

Returns

CancelablePromise<string>

string token created