Last built on 2023-09-26 06:47
Auth API
/auth
Server authentication
Request
Request options:
Name |
In |
Type |
Description |
login |
body |
string |
User login. |
password |
body |
string |
User password. |
auth_type (Optional) |
body |
string |
Authorization type. Possible types are ‘standard’, ‘ldap’. |
Request example:
curl -X POST http://tkcontrol/auth -H "Content-Type: application/json" -d '{ \
"auth_type": "standard", \
"login": "admin", \
"password": "admin" \
}'
Response
Response options:
Name |
In |
Type |
Description |
token |
body |
string |
JWT token providing for using TKControl APIs. |
Response example: