Login

Login

Compatibility: from Durst Workflow v1.7.3

Within the HTTP Response Header the following parameter is returned:

"x-auth-token": "wd8DTO5ygm0pgUaPBpNBJZz2U-WrZzDqs7OBhCpXTEw1rTHwFtw_CS92aBrQsYAsFuB..."

Hand over the corresponding parameter in the http header for all api calls. The token is valid until the Workflow is restarted or for 10 days. 

Please refer to our FAQ if Login is not working.

GET /api/v1/login

1. Parameters

Type
Name
Description
Schema
Body logoutID optional
logoutID string
Query
password required
password string
Query
username required
username string
Body
activeUntil optional
Date defined how long user account will be active. Must be defined in Durst Workflow. If parameter is not listed, user account is active for unlimited time. string (date)

2. Responses

HTTP Code Description Schema
200 OK UserAccountApi
401 Unauthorized No Content
403 Forbidden No Content
404 Not Found No Content

3. Produces

*/*

4. Tags

login-controller-api

5. Example HTTP request Login

Request path

/api/v1/login?password=string&username=string

6. Example HTTP response Login

Response 200

{
    "id": 5,
    "username": "username",
    "activeUntil": "2038-01-19"
}