Log in
POST<your-unleash-url>/auth/simple/login
Logs in the user and creates an active session
Request
Responses
- 200
- 401
userSchema
Authorization information is missing or invalid. Provide a valid API token as the authorization
header, e.g. authorization:*.*.my-admin-token
.
Authorization: Authorization
name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L '<your-unleash-url>/auth/simple/login' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <Authorization>' \
-d '{
"username": "user",
"password": "hunter2"
}'
ResponseClear