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

x/windmill/windmill-api/index.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.422.0/windmill-api/index.ts";

create token to impersonate a user (require superadmin)

Parameters

unnamed 0: { requestBody: NewTokenImpersonate; }

Returns

CancelablePromise<string>

string token created