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

x/windmill/windmill-api/index.ts>UserService.login

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.login
import { UserService } from "https://deno.land/x/windmill@v1.397.0/windmill-api/index.ts";

login with password

Parameters

unnamed 0: { requestBody: Login; }

Returns

string Successfully authenticated. The session ID is returned in a cookie named token and as plaintext response. Preferred method of authorization is through the bearer token. The cookie is only for browser convenience.